flash: complete CONFIG_SYS_NO_FLASH move with renaming
[platform/kernel/u-boot.git] / board / freescale / bsc9132qds / bsc9132qds.c
index 2c836da..a7772c4 100644 (file)
@@ -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);