mpc85xx: Add the ability to set LCRR[CLKDIV] to improve R/W speed of flash
[oweals/u-boot.git] / board / pxa255_idp / pxa_idp.c
index aa598aaa44d21a9360b6a35c4a5ea7a0fb40b6a5..05e30ecf001077e4ac42cbacc78e074066266782 100644 (file)
@@ -31,6 +31,7 @@
  */
 
 #include <common.h>
+#include <netdev.h>
 #include <command.h>
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -129,7 +130,18 @@ int do_idpcmd(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 
 U_BOOT_CMD(idpcmd, CONFIG_SYS_MAXARGS, 0, do_idpcmd,
           "custom IDP command",
-          "no args at this time\n"
+          "no args at this time"
 );
 
 #endif
+
+#ifdef CONFIG_CMD_NET
+int board_eth_init(bd_t *bis)
+{
+       int rc = 0;
+#ifdef CONFIG_SMC91111
+       rc = smc91111_initialize(0, CONFIG_SMC91111_BASE);
+#endif
+       return rc;
+}
+#endif