summaryrefslogtreecommitdiff
path: root/include/configs/ERIC.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:48:04 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-10 22:48:04 +0200
commit5a1aceb0689e2f731491838970884a673ef7e7d3 (patch)
treeecd34fd2a8454ff2fc1d67d81f193dd8313e77ef /include/configs/ERIC.h
parent7d9b5bae5ba558c7464d89d033aca04acaf01172 (diff)
downloadu-boot-imx-5a1aceb0689e2f731491838970884a673ef7e7d3.zip
u-boot-imx-5a1aceb0689e2f731491838970884a673ef7e7d3.tar.gz
u-boot-imx-5a1aceb0689e2f731491838970884a673ef7e7d3.tar.bz2
rename CFG_ENV_IS_IN_FLASH in CONFIG_ENV_IS_IN_FLASH
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'include/configs/ERIC.h')
-rw-r--r--include/configs/ERIC.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/configs/ERIC.h b/include/configs/ERIC.h
index c699855..b7ec0d0 100644
--- a/include/configs/ERIC.h
+++ b/include/configs/ERIC.h
@@ -42,7 +42,7 @@
#define CONFIG_SYS_CLK_FREQ 33333333 /* external frequency to pll */
#if 1
-#define CFG_ENV_IS_IN_FLASH 1 /* use FLASH for environment vars */
+#define CONFIG_ENV_IS_IN_FLASH 1 /* use FLASH for environment vars */
#endif
#if 0
#define CONFIG_ENV_IS_IN_NVRAM 1 /* use NVRAM for environment vars */
@@ -62,17 +62,17 @@
#define CONFIG_I2C_RTC 1 /* we have a Xicor X1240 RTC */
#define CFG_I2C_RTC_ADDR 0x6F /* and one for RTC */
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
#undef CONFIG_ENV_IS_IN_NVRAM
#undef CONFIG_ENV_IS_IN_EEPROM
#else
#ifdef CONFIG_ENV_IS_IN_NVRAM
-#undef CFG_ENV_IS_IN_FLASH
+#undef CONFIG_ENV_IS_IN_FLASH
#undef CONFIG_ENV_IS_IN_EEPROM
#else
#ifdef CONFIG_ENV_IS_IN_EEPROM
#undef CONFIG_ENV_IS_IN_NVRAM
-#undef CFG_ENV_IS_IN_FLASH
+#undef CONFIG_ENV_IS_IN_FLASH
#endif
#endif
#endif
@@ -298,7 +298,7 @@
#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
/* BEG ENVIRONNEMENT FLASH */
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
#define CFG_ENV_SECT_SIZE (128*1024)
#if 0 /* force ENV to be NOT embedded */