From a21b5d4bfdd6dfc104443954aa33834a5f7c8d8f Mon Sep 17 00:00:00 2001 From: Holger Brunck Date: Fri, 4 Mar 2011 14:56:27 +0100 Subject: ppc, arm: rework and enhance keymile-common.h Add: - introduce "bootrunner" environment variable This allows to execute consecutive different commands specified in the list "subbootcmd". If one command fails the command serie will stop. - introduce environment variable "develop", "ramfs" and "release" Each variable is one way to boot our linux. "develop" is for development purpose and boots the SW via NFS. "release" is for booting the linux image from flash, "ramfs" allows to load an SW image via tftp into ram and executes from there - introduce "addmem" variable, this command adds the used memory for linux to the bootargs - introduce "addvar" variable, this command adress for the /var directory to the kernel command line - introduce "setramfspram" and "setrootfsaddr" these calculation were done if "ramfs" was used (only for debugging) - introduce "tftpramfs" used for "ramfs" to load the image into RAM (only for debugging) Remove unneeded stuff: - CONFIG_IO_MUXING is obsolete for keymile boards - CONFIG_KM_DEF_ENV_PRIVATE is also obsolete - define CONFIG_SYS_TEXT_BASE in board configs only Signed-off-by: Holger Brunck cc: Wolfgang Denk cc: Prafulla Wadaskar cc: Valentin Longchamp cc: Heiko Schocher --- include/configs/km_arm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/configs/km_arm.h') diff --git a/include/configs/km_arm.h b/include/configs/km_arm.h index 9c8d0e7af7..70113d449d 100644 --- a/include/configs/km_arm.h +++ b/include/configs/km_arm.h @@ -260,5 +260,7 @@ int get_scl (void); * 8Mbytes for switch + 4Kbytes for bootcount */ #define CONFIG_KM_RESERVED_PRAM 0x801000 +/* address for the bootcount (taken from end of RAM) */ +#define BOOTCOUNT_ADDR (CONFIG_KM_RESERVED_PRAM) #endif /* _CONFIG_KM_ARM_H */ -- cgit v1.2.1