diff options
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/bsc9132qds/bsc9132qds.c | 2 | ||||
-rw-r--r-- | board/freescale/t102xqds/law.c | 2 | ||||
-rw-r--r-- | board/freescale/t102xrdb/law.c | 2 | ||||
-rw-r--r-- | board/freescale/t1040qds/law.c | 2 | ||||
-rw-r--r-- | board/freescale/t104xrdb/law.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/board/freescale/bsc9132qds/bsc9132qds.c b/board/freescale/bsc9132qds/bsc9132qds.c index 2c836da63b..a7772c4bf4 100644 --- a/board/freescale/bsc9132qds/bsc9132qds.c +++ b/board/freescale/bsc9132qds/bsc9132qds.c @@ -151,7 +151,7 @@ void dsp_ddr_configure(void) int board_early_init_r(void) { -#ifndef CONFIG_SYS_NO_FLASH +#ifdef CONFIG_MTD_NOR_FLASH const unsigned int flashbase = CONFIG_SYS_FLASH_BASE; int flash_esel = find_tlb_idx((void *)flashbase, 1); diff --git a/board/freescale/t102xqds/law.c b/board/freescale/t102xqds/law.c index b1c9d0187a..b32a1629f1 100644 --- a/board/freescale/t102xqds/law.c +++ b/board/freescale/t102xqds/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 diff --git a/board/freescale/t102xrdb/law.c b/board/freescale/t102xrdb/law.c index 1c9235fa3b..9fd6d894dc 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 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 diff --git a/board/freescale/t104xrdb/law.c b/board/freescale/t104xrdb/law.c index 2362d4324b..c847df1b49 100644 --- a/board/freescale/t104xrdb/law.c +++ b/board/freescale/t104xrdb/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 |