]> git.sur5r.net Git - u-boot/blobdiff - board/gaisler/gr_cpci_ax2000/gr_cpci_ax2000.c
Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE
[u-boot] / board / gaisler / gr_cpci_ax2000 / gr_cpci_ax2000.c
index d99b45523ac84b211edf566b1b0b05dca6ca1a18..7fe85b85ada07bc0d10101b63eb67d89903bdc52 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