diff options
Diffstat (limited to 'board/freescale/t1040qds/law.c')
-rw-r--r-- | board/freescale/t1040qds/law.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/t1040qds/law.c b/board/freescale/t1040qds/law.c index a2dc027e4b..5d3d94ab65 100644 --- a/board/freescale/t1040qds/law.c +++ b/board/freescale/t1040qds/law.c @@ -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 |