summaryrefslogtreecommitdiff
path: root/include/configs/taihu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/taihu.h')
-rw-r--r--include/configs/taihu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/taihu.h b/include/configs/taihu.h
index 86f776d..2ef4545 100644
--- a/include/configs/taihu.h
+++ b/include/configs/taihu.h
@@ -221,7 +221,7 @@ unsigned char spi_read(void);
#define CFG_NVRAM_BASE_ADDR 0xf0000000 /* NVRAM base address */
#define CFG_NVRAM_SIZE 0x1ff8 /* NVRAM size */
-#ifdef CFG_ENV_IS_IN_NVRAM
+#ifdef CONFIG_ENV_IS_IN_NVRAM
#define CFG_ENV_SIZE 0x0ff8 /* Size of Environment vars */
#define CFG_ENV_ADDR \
(CFG_NVRAM_BASE_ADDR+CFG_NVRAM_SIZE-CFG_ENV_SIZE) /* Env*/