From: Jason Liu Date: Wed, 17 Nov 2010 08:01:18 +0000 (+0800) Subject: mx51evk: savenv or env save command does not work X-Git-Tag: v2010.12-rc3~12^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a676cca41d52a89d9e3841170880e1234ec45606;p=u-boot 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 --- diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h index f98438d637..b4e57387af 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