summaryrefslogtreecommitdiff
path: root/include/configs/m501sk.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/m501sk.h')
-rw-r--r--include/configs/m501sk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/m501sk.h b/include/configs/m501sk.h
index 7fc460a..7024a83 100644
--- a/include/configs/m501sk.h
+++ b/include/configs/m501sk.h
@@ -154,7 +154,7 @@
#define CFG_FLASH_ERASE_TOUT (2*CFG_HZ) /* Timeout for Flash Erase */
#define CFG_FLASH_WRITE_TOUT (2*CFG_HZ) /* Timeout for Flash Write */
-#ifdef CFG_ENV_IS_IN_DATAFLASH
+#ifdef CONFIG_ENV_IS_IN_DATAFLASH
#define CFG_ENV_OFFSET 0x20000
#define CFG_ENV_ADDR (CFG_DATAFLASH_LOGIC_ADDR_CS0 + CFG_ENV_OFFSET)
#define CFG_ENV_SIZE 0x2000