]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/bsc9132qds/bsc9132qds.c
flash: complete CONFIG_SYS_NO_FLASH move with renaming
[u-boot] / board / freescale / bsc9132qds / bsc9132qds.c
index 2c836da63b2db5b883305cc1d941d08d2dda0e0f..a7772c4bf4c29eecad2b996706d37719560977ae 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);