]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/evb64260/intel_flash.c
imported Freescale specific U-Boot additions for i.MX28,... release L2.6.31_10.08.01
[karo-tx-uboot.git] / board / evb64260 / intel_flash.c
index ed6a2a029221e01b4b7e4ae36bda05b206e1f2a6..994264a7ab01072fb68b65f10e3b6700050cec06 100755 (executable)
@@ -157,7 +157,7 @@ write_word_intel(bank_addr_t addr, bank_word_t value)
        /* data polling for D7 */
        start = get_timer (0);
        do {
-               if (get_timer(start) > CFG_FLASH_WRITE_TOUT) {
+               if (get_timer(start) > CONFIG_SYS_FLASH_WRITE_TOUT) {
                        retval = 1;
                        goto done;
                }
@@ -234,7 +234,7 @@ flash_erase_intel(flash_info_t *info, int s_first, int s_last)
                        do {
                                now = get_timer(start);
 
-                               if (now - estart > CFG_FLASH_ERASE_TOUT) {
+                               if (now - estart > CONFIG_SYS_FLASH_ERASE_TOUT) {
                                        printf ("Timeout (sect %d)\n", sect);
                                        haderr = 1;
                                        break;