]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/esd/adciop/flash.c
imported Freescale specific U-Boot additions for i.MX28,... release L2.6.31_10.08.01
[karo-tx-uboot.git] / board / esd / adciop / flash.c
index d9eccba1ea8375f06650687c10595e94a7a0c125..dd578c8939bd447ba0493fc3072a9438cafc5e9a 100755 (executable)
@@ -45,7 +45,7 @@ unsigned long flash_init (void)
        int i;
 
        /* Init: no FLASHes known */
-       for (i=0; i<CFG_MAX_FLASH_BANKS; ++i) {
+       for (i=0; i<CONFIG_SYS_MAX_FLASH_BANKS; ++i) {
                flash_info[i].flash_id = FLASH_UNKNOWN;
        }