]> git.sur5r.net Git - u-boot/blobdiff - board/qemu-mips/qemu-mips.c
common: Discard the __u_boot_cmd section
[u-boot] / board / qemu-mips / qemu-mips.c
index 6e6eab27779b9018fc77edb732c008bcd6712b8a..2b3a1d6b0992f79157246655f3bfed5daff4a6fd 100644 (file)
@@ -25,8 +25,9 @@
 #include <command.h>
 #include <asm/mipsregs.h>
 #include <asm/io.h>
+#include <netdev.h>
 
-long int initdram(int board_type)
+phys_size_t initdram(int board_type)
 {
        /* Sdram is setup by assembler code */
        /* If memory could be changed, we should return the true value here */
@@ -87,3 +88,8 @@ int misc_init_r(void)
        set_io_port_base(0);
        return 0;
 }
+
+int board_eth_init(bd_t *bis)
+{
+       return ne2k_register();
+}