Commit 0ff65eb99c3ed4d452b9c74dae8c4f736d92303f
Committed by
Simon Glass
1 parent
adfe3b247a
Exists in
v2017.01-smarct4x
and in
37 other branches
x86: crownbay: Enable Intel E1000 NIC support
We don't have driver for the Intel Topcliff PCH Gigabit Ethernet controller for now, so enable the Intle E1000 NIC support, which can be plugged into any PCIe slot on the Crown Bay board. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Showing 2 changed files with 7 additions and 0 deletions Side-by-side Diff
board/intel/crownbay/crownbay.c
... | ... | @@ -7,6 +7,7 @@ |
7 | 7 | #include <common.h> |
8 | 8 | #include <asm/ibmpc.h> |
9 | 9 | #include <asm/pnp_def.h> |
10 | +#include <netdev.h> | |
10 | 11 | #include <smsc_lpc47m.h> |
11 | 12 | |
12 | 13 | #define SERIAL_DEV PNP_DEV(0x2e, 4) |
... | ... | @@ -23,5 +24,10 @@ |
23 | 24 | void setup_pch_gpios(u16 gpiobase, const struct pch_gpio_map *gpio) |
24 | 25 | { |
25 | 26 | return; |
27 | +} | |
28 | + | |
29 | +int board_eth_init(bd_t *bis) | |
30 | +{ | |
31 | + return pci_eth_init(bis); | |
26 | 32 | } |