aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu J. Poirier <mathieu.poirier@linaro.org>2012-05-17 14:14:28 -0600
committerMathieu J. Poirier <mathieu.poirier@linaro.org>2012-05-17 14:22:25 -0600
commiteef0f121829ac8c5c1f0edf68afbe49eb98a3b9d (patch)
treef1299942fd1fc15319626c8fbee2919ba74d5c9d
parentf3337ed2cd1b017334e05e6d281c3f6f58775c56 (diff)
downloadu-boot-linaro-stable-eef0f121829ac8c5c1f0edf68afbe49eb98a3b9d.tar.gz
snowball: saving environment block to emmc
Everything that is already available and working to save environment block variables to emmc, simply enabling the feature. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
-rw-r--r--include/configs/snowball.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/configs/snowball.h b/include/configs/snowball.h
index 88372322d..31d0ef46c 100644
--- a/include/configs/snowball.h
+++ b/include/configs/snowball.h
@@ -65,12 +65,13 @@
#define CONFIG_ENV_SIZE (128*1024)
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 256*1024)
#endif
+
#define CONFIG_SYS_GBL_DATA_SIZE 128 /* for initial data */
-//#define CONFIG_ENV_IS_IN_MMC
-#define CONFIG_ENV_IS_NOWHERE
+#define CONFIG_ENV_IS_IN_MMC
#define CONFIG_CMD_ENV
-#define CONFIG_ENV_OFFSET 0x13F80000
+#define CONFIG_CMD_SAVEENV
+#define CONFIG_ENV_OFFSET 0x0118000
#define CONFIG_SYS_MMC_ENV_DEV 0 /* SLOT2: eMMC */
/*