]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/altera/ep1s40/ep1s40.c
Merge branch 'master' of git://git.denx.de/u-boot-arm
[karo-tx-uboot.git] / board / altera / ep1s40 / ep1s40.c
index cb755504765e7246a75fbe3357dcb034b47e805d..6395de7293bb44bfc6b2a3a8509712c6e6fafde7 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include <common.h>
+#include <netdev.h>
 
 int checkboard (void)
 {
@@ -29,7 +30,18 @@ int checkboard (void)
        return 0;
 }
 
-long int initdram (int board_type)
+phys_size_t initdram (int board_type)
 {
        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