aboutsummaryrefslogtreecommitdiff
path: root/include/configs/km_arm.h
diff options
context:
space:
mode:
authorHolger Brunck <holger.brunck@keymile.com>2011-03-04 14:56:27 +0100
committerWolfgang Denk <wd@denx.de>2011-04-30 00:45:23 +0200
commita21b5d4bfdd6dfc104443954aa33834a5f7c8d8f (patch)
treeca0661ad6b41a1ce7c1708df4c4bd191788b4fe9 /include/configs/km_arm.h
parentf1fef1d8a141e0b4e4520d66e162c06ff047bd16 (diff)
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 <holger.brunck@keymile.com> cc: Wolfgang Denk <wd@denx.de> cc: Prafulla Wadaskar <prafulla@marvell.com> cc: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/configs/km_arm.h')
-rw-r--r--include/configs/km_arm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/km_arm.h b/include/configs/km_arm.h
index 9c8d0e7af..70113d449 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 */