keymile, common: add setting of some environment variables
This patch adds last_stage_init to all keymile boards. And in the last stage init some environment variables for u-boot were set. Currently these are pnvramaddr, pram and var address. Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Heiko Schocher <hs@denx.de> Acked-by: Kim Phillips <kim.phillips@freescale.com> cc: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Wolfgang Denk <wd@denx.de> cc: Kim Phillips <kim.phillips@freescale.com>
This commit is contained in:
committed by
Wolfgang Denk
parent
0d01520200
commit
f1fef1d8a1
@@ -26,6 +26,9 @@
|
||||
|
||||
/* Do boardspecific init for all boards */
|
||||
#define CONFIG_BOARD_EARLY_INIT_R
|
||||
#define CONFIG_LAST_STAGE_INIT
|
||||
|
||||
#define CONFIG_BOOTCOUNT_LIMIT
|
||||
|
||||
/*
|
||||
* By default kwbimage.cfg from board specific folder is used
|
||||
|
||||
@@ -254,4 +254,11 @@ int get_scl (void);
|
||||
#define CONFIG_SYS_INIT_SP_ADDR 0xC8012000
|
||||
/* Do early setups now in board_init_f() */
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
|
||||
/*
|
||||
* resereved pram area at the end of memroy [hex]
|
||||
* 8Mbytes for switch + 4Kbytes for bootcount
|
||||
*/
|
||||
#define CONFIG_KM_RESERVED_PRAM 0x801000
|
||||
|
||||
#endif /* _CONFIG_KM_ARM_H */
|
||||
|
||||
@@ -61,8 +61,6 @@
|
||||
/* include further common stuff for all keymile 82xx boards */
|
||||
#include "km82xx-common.h"
|
||||
|
||||
/* enable last_stage_init */
|
||||
#define CONFIG_LAST_STAGE_INIT 1
|
||||
/* bfticu address */
|
||||
#define CONFIG_SYS_BFTICU_BASE 0x40000000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user