提交 a676cca4 编写于 作者: J Jason Liu 提交者: Stefano Babic

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: NJason Liu <r64343@freescale.com>
上级 8ad25bf8
...@@ -216,8 +216,9 @@ ...@@ -216,8 +216,9 @@
*/ */
#define CONFIG_SYS_NO_FLASH #define CONFIG_SYS_NO_FLASH
#define CONFIG_ENV_SECT_SIZE (128 * 1024) #define CONFIG_ENV_OFFSET (6 * 64 * 1024)
#define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE #define CONFIG_ENV_SIZE (8 * 1024)
#define CONFIG_ENV_IS_NOWHERE #define CONFIG_ENV_IS_IN_MMC
#define CONFIG_SYS_MMC_ENV_DEV 0
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册