summaryrefslogtreecommitdiff
path: root/include/configs/sorcery.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/sorcery.h')
-rw-r--r--include/configs/sorcery.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/sorcery.h b/include/configs/sorcery.h
index f4e460800cf..0d07560c6a6 100644
--- a/include/configs/sorcery.h
+++ b/include/configs/sorcery.h
@@ -208,11 +208,11 @@
#if defined CFG_ENV_IS_IN_FLASH
#undef CFG_ENV_IS_IN_NVRAM
-#undef CFG_ENV_IS_IN_EEPROM
+#undef CONFIG_ENV_IS_IN_EEPROM
#elif defined CFG_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
-#undef CFG_ENV_IS_IN_EEPROM
-#elif defined CFG_ENV_IS_IN_EEPROM
+#undef CONFIG_ENV_IS_IN_EEPROM
+#elif defined CONFIG_ENV_IS_IN_EEPROM
#undef CFG_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#endif