summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Liu <r64343@freescale.com>2010-11-17 16:01:18 +0800
committerStefano Babic <sbabic@denx.de>2010-11-21 18:24:10 +0100
commita676cca41d52a89d9e3841170880e1234ec45606 (patch)
treebeb4ab9f342ca3157754416846f33077c8494593
parent8ad25bf8d9233eb7d0b614612108622a59069354 (diff)
downloadu-boot-imx-a676cca41d52a89d9e3841170880e1234ec45606.zip
u-boot-imx-a676cca41d52a89d9e3841170880e1234ec45606.tar.gz
u-boot-imx-a676cca41d52a89d9e3841170880e1234ec45606.tar.bz2
mx51evk: savenv or env save command does not work
fix saveenv or env save command not work on mx51evk board. with this patch, we can use savenv or env save to store enviroments to mmc card slot 0 Signed-off-by: Jason Liu <r64343@freescale.com>
-rw-r--r--include/configs/mx51evk.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h
index f98438d..b4e5738 100644
--- a/include/configs/mx51evk.h
+++ b/include/configs/mx51evk.h
@@ -216,8 +216,9 @@
*/
#define CONFIG_SYS_NO_FLASH
-#define CONFIG_ENV_SECT_SIZE (128 * 1024)
-#define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE
-#define CONFIG_ENV_IS_NOWHERE
+#define CONFIG_ENV_OFFSET (6 * 64 * 1024)
+#define CONFIG_ENV_SIZE (8 * 1024)
+#define CONFIG_ENV_IS_IN_MMC
+#define CONFIG_SYS_MMC_ENV_DEV 0
#endif