summaryrefslogtreecommitdiff
path: root/include/configs/yosemite.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/yosemite.h')
-rw-r--r--include/configs/yosemite.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/yosemite.h b/include/configs/yosemite.h
index cb2042c..f90e9ec 100644
--- a/include/configs/yosemite.h
+++ b/include/configs/yosemite.h
@@ -98,7 +98,7 @@
#if 1
#define CFG_ENV_IS_IN_FLASH 1 /* use FLASH for environment vars */
#else
-#define CFG_ENV_IS_IN_EEPROM 1 /* use EEPROM for environment vars */
+#define CONFIG_ENV_IS_IN_EEPROM 1 /* use EEPROM for environment vars */
#endif
/*-----------------------------------------------------------------------
@@ -147,10 +147,10 @@
#define CFG_EEPROM_PAGE_WRITE_BITS 3
#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10
-#ifdef CFG_ENV_IS_IN_EEPROM
+#ifdef CONFIG_ENV_IS_IN_EEPROM
#define CFG_ENV_SIZE 0x200 /* Size of Environment vars */
#define CFG_ENV_OFFSET 0x0
-#endif /* CFG_ENV_IS_IN_EEPROM */
+#endif /* CONFIG_ENV_IS_IN_EEPROM */
/* I2C SYSMON (LM75, AD7414 is almost compatible) */
#define CONFIG_DTT_LM75 1 /* ON Semi's LM75 */