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