]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mtd/st_smi.c
flash: complete CONFIG_SYS_NO_FLASH move with renaming
[people/ms/u-boot.git] / drivers / mtd / st_smi.c
index 208119c5f06e74342e85e3991deacb10f248967f..9942c8a88565b3e770ca1d6f5259990e485a524d 100644 (file)
@@ -13,7 +13,7 @@
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 
-#if !defined(CONFIG_SYS_NO_FLASH)
+#if defined(CONFIG_MTD_NOR_FLASH)
 
 static struct smi_regs *const smicntl =
     (struct smi_regs * const)CONFIG_SYS_SMI_BASE;