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