]> git.sur5r.net Git - u-boot/blobdiff - board/gaisler/gr_ep2s60/gr_ep2s60.c
common: Add .u_boot_list into all linker files
[u-boot] / board / gaisler / gr_ep2s60 / gr_ep2s60.c
index e8617f0755ea543da5fc01ab79abda5d2b036360..7241c6d1a4a28a6970886c03af25aa68999cd525 100644 (file)
  */
 
 #include <common.h>
+#include <netdev.h>
 #include <config.h>
 #include <asm/leon.h>
 
-long int initdram(int board_type)
+phys_size_t initdram(int board_type)
 {
        return 1;
 }
@@ -37,3 +38,14 @@ int misc_init_r(void)
 {
        return 0;
 }
+
+#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