nand_spl: nand_boot.c: Remove CONFIG_SYS_NAND_READ_DELAY
[oweals/u-boot.git] / board / imx31_phycore / imx31_phycore.c
index 92aba96b98343a76f9ce53e9f8f5e82a462586ac..82daaa3245cf60d49128f8e9826a4f6ac53f2828 100644 (file)
@@ -24,8 +24,9 @@
 
 #include <common.h>
 #include <s6e63d6.h>
-#include <asm/arch/mx31.h>
-#include <asm/arch/mx31-regs.h>
+#include <netdev.h>
+#include <asm/arch/clock.h>
+#include <asm/arch/imx-regs.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -128,3 +129,12 @@ int checkboard (void)
        printf("Board: Phytec phyCore i.MX31\n");
        return 0;
 }
+
+int board_eth_init(bd_t *bis)
+{
+       int rc = 0;
+#ifdef CONFIG_SMC911X
+       rc = smc911x_initialize(0, CONFIG_SMC911X_BASE);
+#endif
+       return rc;
+}