summaryrefslogtreecommitdiff
path: root/include/configs/PATI.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/PATI.h')
-rw-r--r--include/configs/PATI.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/PATI.h b/include/configs/PATI.h
index 2676c78..9615044 100644
--- a/include/configs/PATI.h
+++ b/include/configs/PATI.h
@@ -178,8 +178,8 @@
#define CFG_ENV_SIZE 2048
#endif
-#undef CFG_ENV_IS_IN_FLASH
-#ifdef CFG_ENV_IS_IN_FLASH
+#undef CONFIG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
#define CFG_ENV_SIZE 0x00002000 /* Set whole sector as env */
#define CFG_ENV_OFFSET ((0 - CFG_FLASH_BASE) - CFG_ENV_SIZE) /* Environment starts at this adress */
#endif