diff options
author | Terry Lv <r65388@freescale.com> | 2010-05-17 10:57:01 +0800 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-09-19 17:47:29 +0200 |
commit | a80603598cef13ab8031b514a603ef1a6169d249 (patch) | |
tree | df2e6fba57113709e6fe8b943024999d4e564283 /common/cmd_nvedit.c | |
parent | 3adfd1143bd55608fa9ec81f98999d478c9313ba (diff) | |
download | bootable_bootloader_goldelico_gta04-a80603598cef13ab8031b514a603ef1a6169d249.zip bootable_bootloader_goldelico_gta04-a80603598cef13ab8031b514a603ef1a6169d249.tar.gz bootable_bootloader_goldelico_gta04-a80603598cef13ab8031b514a603ef1a6169d249.tar.bz2 |
Save environment data to mmc.
This patch is to save environment data to mmc card.
It uses interfaces defined in generic mmc.
Signed-off-by: Terry Lv <r65388@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'common/cmd_nvedit.c')
-rw-r--r-- | common/cmd_nvedit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index fd5320d..c941b95 100644 --- a/common/cmd_nvedit.c +++ b/common/cmd_nvedit.c @@ -59,13 +59,14 @@ DECLARE_GLOBAL_DATA_PTR; !defined(CONFIG_ENV_IS_IN_FLASH) && \ !defined(CONFIG_ENV_IS_IN_DATAFLASH) && \ !defined(CONFIG_ENV_IS_IN_MG_DISK) && \ + !defined(CONFIG_ENV_IS_IN_MMC) && \ !defined(CONFIG_ENV_IS_IN_NAND) && \ !defined(CONFIG_ENV_IS_IN_NVRAM) && \ !defined(CONFIG_ENV_IS_IN_ONENAND) && \ !defined(CONFIG_ENV_IS_IN_SPI_FLASH) && \ !defined(CONFIG_ENV_IS_NOWHERE) # error Define one of CONFIG_ENV_IS_IN_{EEPROM|FLASH|DATAFLASH|ONENAND|\ -SPI_FLASH|MG_DISK|NVRAM|NOWHERE} +SPI_FLASH|MG_DISK|NVRAM|MMC|NOWHERE} #endif #define XMK_STR(x) #x |