summaryrefslogtreecommitdiff
path: root/board/keymile/km83xx/km83xx.c
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2010-04-26 13:07:28 +0200
committerWolfgang Denk <wd@denx.de>2011-04-30 00:45:22 +0200
commitf1fef1d8a141e0b4e4520d66e162c06ff047bd16 (patch)
tree41b7f4a2fd983b3472816ad6e613c72c97a482dd /board/keymile/km83xx/km83xx.c
parent0d01520200f3bb0686567134bc2e7bb940009559 (diff)
downloadu-boot-imx-f1fef1d8a141e0b4e4520d66e162c06ff047bd16.zip
u-boot-imx-f1fef1d8a141e0b4e4520d66e162c06ff047bd16.tar.gz
u-boot-imx-f1fef1d8a141e0b4e4520d66e162c06ff047bd16.tar.bz2
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>
Diffstat (limited to 'board/keymile/km83xx/km83xx.c')
-rw-r--r--board/keymile/km83xx/km83xx.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/keymile/km83xx/km83xx.c b/board/keymile/km83xx/km83xx.c
index f9186e8..17560c8 100644
--- a/board/keymile/km83xx/km83xx.c
+++ b/board/keymile/km83xx/km83xx.c
@@ -190,6 +190,12 @@ int misc_init_r(void)
return 0;
}
+int last_stage_init(void)
+{
+ set_km_env();
+ return 0;
+}
+
int fixed_sdram(void)
{
immap_t *im = (immap_t *)CONFIG_SYS_IMMR;