]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/tqc/tqma6/tqma6_wru4.c
imx: reorganize IMX code as other SOCs
[people/ms/u-boot.git] / board / tqc / tqma6 / tqma6_wru4.c
index 4427799ca8fc0cbe62ea3a26928bad59d4433c6e..2360cffdd903c2235758adbbcfe85557e9ff3076 100644 (file)
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux.h>
 #include <asm/arch/sys_proto.h>
-#include <asm/errno.h>
+#include <linux/errno.h>
 #include <asm/gpio.h>
-#include <asm/imx-common/boot_mode.h>
-#include <asm/imx-common/mxc_i2c.h>
+#include <asm/mach-imx/boot_mode.h>
+#include <asm/mach-imx/mxc_i2c.h>
 
 #include <common.h>
 #include <fsl_esdhc.h>
@@ -177,7 +177,7 @@ static void setup_iomuxc_enet(void)
        ret = gpio_request(ENET_PHY_RESET_GPIO, "phy-reset");
        if (!ret)
                gpio_direction_output(ENET_PHY_RESET_GPIO , 0);
-       udelay(1000);
+       udelay(25000);
        gpio_set_value(ENET_PHY_RESET_GPIO, 1);
 }