]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/freescale/t104xrdb/law.c
flash: complete CONFIG_SYS_NO_FLASH move with renaming
[people/ms/u-boot.git] / board / freescale / t104xrdb / law.c
index 2362d4324b58f635ef0103fe3ea385031dfd9cc5..c847df1b49a8bcd1adba97ac02e9b626a9f83e57 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