summaryrefslogtreecommitdiff
path: root/include/configs/bfin_adi_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/bfin_adi_common.h')
-rw-r--r--include/configs/bfin_adi_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h
index 72099bff97..5d61f99871 100644
--- a/include/configs/bfin_adi_common.h
+++ b/include/configs/bfin_adi_common.h
@@ -49,7 +49,7 @@
# if defined(CONFIG_SYS_I2C) || defined(CONFIG_SYS_I2C_SOFT)
# define CONFIG_SOFT_I2C_READ_REPEATED_START
# endif
-# ifndef CONFIG_SYS_NO_FLASH
+# ifdef CONFIG_MTD_NOR_FLASH
# define CONFIG_CMD_JFFS2
# endif
# ifdef CONFIG_CMD_JFFS2