summaryrefslogtreecommitdiff
path: root/include/configs/hcu4.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/hcu4.h')
-rw-r--r--include/configs/hcu4.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/hcu4.h b/include/configs/hcu4.h
index 7f262cb..b98883e 100644
--- a/include/configs/hcu4.h
+++ b/include/configs/hcu4.h
@@ -122,7 +122,7 @@
*----------------------------------------------------------------------*/
#undef CONFIG_ENV_IS_IN_NVRAM
-#define CFG_ENV_IS_IN_FLASH
+#define CONFIG_ENV_IS_IN_FLASH
#undef CONFIG_ENV_IS_NOWHERE
#ifdef CONFIG_ENV_IS_IN_EEPROM
@@ -132,7 +132,7 @@
#define CFG_ENV_SIZE (PROM_SIZE-CFG_ENV_OFFSET)
#endif
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
/* Put the environment in Flash */
#define CFG_ENV_SECT_SIZE 0x10000 /* size of one complete sector */
#define CFG_ENV_ADDR ((-CFG_MONITOR_LEN)-CFG_ENV_SECT_SIZE)