common: Drop linux/delay.h from common header
[oweals/u-boot.git] / board / cobra5272 / flash.c
index 5860cd0ac03bf1e683ef264e926f1771b08acad0..4337f4879de77306c6d5da4076791d7b93d72d09 100644 (file)
@@ -10,6 +10,7 @@
 #include <flash.h>
 #include <irq_func.h>
 #include <uuid.h>
+#include <linux/delay.h>
 
 #define PHYS_FLASH_1 CONFIG_SYS_FLASH_BASE
 #define FLASH_BANK_SIZE 0x200000
@@ -235,7 +236,7 @@ int flash_erase(flash_info_t *info, int s_first, int s_last)
 
       outahere:
        /* allow flash to settle - wait 10 ms */
-       udelay (10000);
+       mdelay(10);
 
        if (iflag)
                enable_interrupts();