Merge tag 'u-boot-rockchip-20200531' of https://gitlab.denx.de/u-boot/custodians...
[oweals/u-boot.git] / drivers / ata / mvsata_ide.c
index 38181235afa6625867385ad92e00cdfccb8dd03d..41f9a91617d4ec7a51dc2624685130e288a133fc 100644 (file)
@@ -7,10 +7,11 @@
 
 #include <common.h>
 #include <asm/io.h>
+#include <linux/delay.h>
 
-#if defined(CONFIG_ORION5X)
+#if defined(CONFIG_ARCH_ORION5X)
 #include <asm/arch/orion5x.h>
-#elif defined(CONFIG_KIRKWOOD)
+#elif defined(CONFIG_ARCH_KIRKWOOD)
 #include <asm/arch/soc.h>
 #elif defined(CONFIG_ARCH_MVEBU)
 #include <linux/mbus.h>