aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Hobbs <jason.hobbs@calxeda.com>2012-01-04 14:00:43 -0600
committerJohn Rigby <john.rigby@linaro.org>2012-02-07 17:03:51 -0800
commitffe63edc1c4b4b9a79d3aa3a19cc33bb70cbbe57 (patch)
tree9c28dad16955f77b07be1f570a71cb979c62081e
parent59e47018988b2199aa0fdc4d4af2d4686aef86d4 (diff)
downloadu-boot-linaro-stable-ffe63edc1c4b4b9a79d3aa3a19cc33bb70cbbe57.tar.gz
configs/highbank.h: point at env in nvram
Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
-rw-r--r--include/configs/highbank.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/configs/highbank.h b/include/configs/highbank.h
index 4d1831be0..642e604fc 100644
--- a/include/configs/highbank.h
+++ b/include/configs/highbank.h
@@ -119,8 +119,11 @@
#define CONFIG_SYS_MEMTEST_END (PHYS_SDRAM_1_SIZE - 0x100000)
/* Room required on the stack for the environment data */
-#define CONFIG_ENV_SIZE 0x2000
-#define CONFIG_ENV_IS_NOWHERE
+#define CONFIG_ENV_IS_IN_NVRAM 1 /* use NVRAM for environment vars */
+#define CONFIG_SYS_NVRAM_BASE_ADDR 0xfff88000 /* NVRAM base address */
+#define CONFIG_SYS_NVRAM_SIZE 0x8000 /* NVRAM size */
+#define CONFIG_ENV_SIZE 0x2000 /* Size of Environment vars */
+#define CONFIG_ENV_ADDR CONFIG_SYS_NVRAM_BASE_ADDR /* Env */
#define CONFIG_SYS_SDRAM_BASE 0x00000000
#define CONFIG_SYS_TEXT_BASE 0x00001000