]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/freescale/t102xrdb/law.c
flash: complete CONFIG_SYS_NO_FLASH move with renaming
[people/ms/u-boot.git] / board / freescale / t102xrdb / law.c
index 1c9235fa3b76ff4b09dabb77d7298e609256f4f2..9fd6d894dc127e2c63bf876e82995711e58340bf 100644 (file)
@@ -9,7 +9,7 @@
 #include <asm/mmu.h>
 
 struct law_entry law_table[] = {
-#ifndef CONFIG_SYS_NO_FLASH
+#ifdef CONFIG_MTD_NOR_FLASH
        SET_LAW(CONFIG_SYS_FLASH_BASE_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_IFC),
 #endif
 #ifdef CONFIG_SYS_BMAN_MEM_PHYS