X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=board%2Fqemu-mips%2Fqemu-mips.c;h=2b3a1d6b0992f79157246655f3bfed5daff4a6fd;hb=16c5e5b9c40633d494c1d43b35b7493336dc2a49;hp=6e6eab27779b9018fc77edb732c008bcd6712b8a;hpb=912810eeca90eedd1503f5e883f3a8da39d7ff89;p=u-boot diff --git a/board/qemu-mips/qemu-mips.c b/board/qemu-mips/qemu-mips.c index 6e6eab2777..2b3a1d6b09 100644 --- a/board/qemu-mips/qemu-mips.c +++ b/board/qemu-mips/qemu-mips.c @@ -25,8 +25,9 @@ #include #include #include +#include -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(); +}