]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
rename CFG_ENV_IS_IN_ONENAND in CONFIG_ENV_IS_IN_ONENAND
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wed, 10 Sep 2008 20:47:59 +0000 (22:47 +0200)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wed, 10 Sep 2008 20:47:59 +0000 (22:47 +0200)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
common/cmd_nvedit.c
common/env_onenand.c
include/configs/apollon.h

index 08671f271b0fbb653c321351fb38abd59f4093b8..bfd097f95f12e772db1ff66911f5ceaa4931b578 100644 (file)
@@ -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}
index d5c907c6f0aa303065e5a4a695878f4e1d026917..4e466eaa4e16cc33a909d055692b8c491f25435c 100644 (file)
@@ -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 */
index c93e77a2e22d253c10cf931fdd51c0e345dadb2c..6e34ddfef1761e3e1cee107a8f6c693e136bd784 100644 (file)
 
 /* OneNAND boot, OneNAND has CS0, NOR boot ONeNAND has CS2 */
 #define        CFG_ONENAND_BASE        0x00000000
-#define        CFG_ENV_IS_IN_ONENAND   1
+#define        CONFIG_ENV_IS_IN_ONENAND        1
 #define CFG_ENV_ADDR           0x00020000
 
 #endif /* __CONFIG_H */