flash: complete CONFIG_SYS_NO_FLASH move with renaming
[platform/kernel/u-boot.git] / include / configs / ls1043a_common.h
index ea7067c..c4b05e0 100644 (file)
@@ -95,7 +95,7 @@
 #define CONFIG_SYS_FLASH_BASE_PHYS             CONFIG_SYS_FLASH_BASE
 #define CONFIG_SYS_FLASH_BASE_PHYS_EARLY       0x00000000
 
-#ifndef CONFIG_SYS_NO_FLASH
+#ifdef CONFIG_MTD_NOR_FLASH
 #define CONFIG_FLASH_CFI_DRIVER
 #define CONFIG_SYS_FLASH_CFI
 #define CONFIG_SYS_FLASH_USE_BUFFER_WRITE