summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:47:59 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:47:59 +0200
commit9656138ff1a34d4c4768db6b490deffc40ee674b (patch)
tree641363f1fb29e9b27a02804bc54ab5f331001916 /common
parent957a0e69575683efd70ace147746bbb3d8e7c501 (diff)
downloadu-boot-imx-9656138ff1a34d4c4768db6b490deffc40ee674b.zip
u-boot-imx-9656138ff1a34d4c4768db6b490deffc40ee674b.tar.gz
u-boot-imx-9656138ff1a34d4c4768db6b490deffc40ee674b.tar.bz2
rename CFG_ENV_IS_IN_ONENAND in CONFIG_ENV_IS_IN_ONENAND
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_onenand.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index 08671f2..bfd097f 100644
--- a/common/cmd_nvedit.c
+++ b/common/cmd_nvedit.c
@@ -57,7 +57,7 @@ DECLARE_GLOBAL_DATA_PTR;
!defined(CFG_ENV_IS_IN_FLASH) && \
!defined(CONFIG_ENV_IS_IN_DATAFLASH) && \
!defined(CONFIG_ENV_IS_IN_NAND) && \
- !defined(CFG_ENV_IS_IN_ONENAND) && \
+ !defined(CONFIG_ENV_IS_IN_ONENAND) && \
!defined(CFG_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}
diff --git a/common/env_onenand.c b/common/env_onenand.c
index d5c907c..4e466ea 100644
--- a/common/env_onenand.c
+++ b/common/env_onenand.c
@@ -23,7 +23,7 @@
#include <common.h>
-#if defined(CFG_ENV_IS_IN_ONENAND) /* Environment is in OneNAND */
+#if defined(CONFIG_ENV_IS_IN_ONENAND) /* Environment is in OneNAND */
#include <command.h>
#include <environment.h>
@@ -127,4 +127,4 @@ int env_init(void)
return 0;
}
-#endif /* CFG_ENV_IS_IN_ONENAND */
+#endif /* CONFIG_ENV_IS_IN_ONENAND */