summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:48:00 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:48:00 +0200
commit0b5099a8419bf9c828df5e3e2c6878dc300d98e3 (patch)
tree9acbf7330cee9ea389b6c7ad118627882e074610 /common
parent55c5f49910ec8225347aa1d211352a84de6649b4 (diff)
downloadu-boot-imx-0b5099a8419bf9c828df5e3e2c6878dc300d98e3.zip
u-boot-imx-0b5099a8419bf9c828df5e3e2c6878dc300d98e3.tar.gz
u-boot-imx-0b5099a8419bf9c828df5e3e2c6878dc300d98e3.tar.bz2
rename CFG_ENV_IS_IN_SPI_FLASH in CONFIG_ENV_IS_IN_SPI_FLASH
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_nvedit.c2
-rw-r--r--common/env_common.c2
-rw-r--r--common/env_sf.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index bfd097f..85d7108 100644
--- a/common/cmd_nvedit.c
+++ b/common/cmd_nvedit.c
@@ -58,7 +58,7 @@ DECLARE_GLOBAL_DATA_PTR;
!defined(CONFIG_ENV_IS_IN_DATAFLASH) && \
!defined(CONFIG_ENV_IS_IN_NAND) && \
!defined(CONFIG_ENV_IS_IN_ONENAND) && \
- !defined(CFG_ENV_IS_IN_SPI_FLASH) && \
+ !defined(CONFIG_ENV_IS_IN_SPI_FLASH) && \
!defined(CFG_ENV_IS_NOWHERE)
# error Define one of CFG_ENV_IS_IN_{NVRAM|EEPROM|FLASH|DATAFLASH|ONENAND|SPI_FLASH|NOWHERE}
#endif
diff --git a/common/env_common.c b/common/env_common.c
index e89f192..36c46f0 100644
--- a/common/env_common.c
+++ b/common/env_common.c
@@ -134,7 +134,7 @@ uchar default_environment[] = {
};
#if defined(CONFIG_ENV_IS_IN_NAND) /* Environment is in Nand Flash */ \
- || defined(CFG_ENV_IS_IN_SPI_FLASH)
+ || defined(CONFIG_ENV_IS_IN_SPI_FLASH)
int default_environment_size = sizeof(default_environment);
#endif
diff --git a/common/env_sf.c b/common/env_sf.c
index 9077d78..a442776 100644
--- a/common/env_sf.c
+++ b/common/env_sf.c
@@ -27,7 +27,7 @@
*/
#include <common.h>
-#ifdef CFG_ENV_IS_IN_SPI_FLASH
+#ifdef CONFIG_ENV_IS_IN_SPI_FLASH
#include <environment.h>
#include <spi_flash.h>
@@ -136,4 +136,4 @@ int env_init(void)
return 0;
}
-#endif /* CFG_ENV_IS_IN_SPI_FLASH */
+#endif /* CONFIG_ENV_IS_IN_SPI_FLASH */