]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/esd/cpciiser4/flash.c
imported Freescale specific U-Boot additions for i.MX28,... release L2.6.31_10.08.01
[karo-tx-uboot.git] / board / esd / cpciiser4 / flash.c
index de847f9beac33ba27fe583b12ef0d170a6770617..56c822ec97f981a36bef309988f5b4b43ae7c182 100755 (executable)
@@ -47,7 +47,7 @@ unsigned long flash_init (void)
        unsigned long base_b0;
 
        /* 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;
        }