summaryrefslogtreecommitdiff
path: root/include/configs/ELPT860.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/ELPT860.h')
-rw-r--r--include/configs/ELPT860.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/ELPT860.h b/include/configs/ELPT860.h
index b9178069b8b..11eca4c4d57 100644
--- a/include/configs/ELPT860.h
+++ b/include/configs/ELPT860.h
@@ -139,7 +139,7 @@
#undef CONFIG_ENV_IS_IN_NVRAM /* Environment is in NVRAM */
#undef CONFIG_ENV_IS_IN_EEPROM /* Environment is in I2C EEPROM */
-#define CFG_ENV_IS_IN_FLASH 1 /* Environment is in FLASH */
+#define CONFIG_ENV_IS_IN_FLASH 1 /* Environment is in FLASH */
#define CONFIG_BAUDRATE 9600 /* console baudrate = 9600 bps */
#define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
@@ -180,7 +180,7 @@
#define CFG_FLASH_BASE 0x02000000
#define CFG_NVRAM_BASE 0x03000000
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
# if defined(DEBUG)
# define CFG_MONITOR_LEN (320 << 10) /* Reserve 320 kB for Monitor */
# else
@@ -213,7 +213,7 @@
#define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
-#if defined(CFG_ENV_IS_IN_FLASH)
+#if defined(CONFIG_ENV_IS_IN_FLASH)
# define CFG_ENV_OFFSET 0x10000 /* Offset of Environment Sector */
# define CFG_ENV_SIZE 0x10000 /* Total Size of Environment Sector */
#endif