diff options
| author | Gabor Juhos <juhosg@openwrt.org> | 2013-05-22 03:57:44 +0000 | 
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2013-07-24 09:51:04 -0400 | 
| commit | f1957499ea545c0ee6d2cbedd3dbc36edc26508d (patch) | |
| tree | ca9c4bc17662452355a4950c44d60aaa4225e955 /board/qemu-malta/qemu-malta.c | |
| parent | feaa60662768dcc97fdf7c593583876ce4e1564c (diff) | |
| download | olio-uboot-2014.01-f1957499ea545c0ee6d2cbedd3dbc36edc26508d.tar.xz olio-uboot-2014.01-f1957499ea545c0ee6d2cbedd3dbc36edc26508d.zip | |
MIPS: qemu-malta: bring up ethernet
Qemu emulates a PCNET PCI card for the Malta CoreLV board.
Enable the pcnet driver and add board specific ethernet
initialization function to bring it up. Also enable the
CONFIG_CMD_NET and CONFIG_CMD_PING options.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Diffstat (limited to 'board/qemu-malta/qemu-malta.c')
| -rw-r--r-- | board/qemu-malta/qemu-malta.c | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/board/qemu-malta/qemu-malta.c b/board/qemu-malta/qemu-malta.c index e3a733f42..4cbd7368f 100644 --- a/board/qemu-malta/qemu-malta.c +++ b/board/qemu-malta/qemu-malta.c @@ -7,6 +7,7 @@   */  #include <common.h> +#include <netdev.h>  #include <asm/addrspace.h>  #include <asm/io.h> @@ -24,6 +25,11 @@ int checkboard(void)  	return 0;  } +int board_eth_init(bd_t *bis) +{ +	return pci_eth_init(bis); +} +  void _machine_restart(void)  {  	void __iomem *reset_base; |