x86: crownbay: Enable Intel E1000 NIC support
authorBin Meng <bmeng.cn@gmail.com>
Wed, 17 Dec 2014 07:50:45 +0000 (15:50 +0800)
committerSimon Glass <sjg@chromium.org>
Fri, 19 Dec 2014 00:26:07 +0000 (17:26 -0700)
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>
board/intel/crownbay/crownbay.c
include/configs/crownbay.h

index 54670d3ac7ec2b6be6c1a3bd924cdc3c515f0265..2a254efe3dd77bb600305d4a5f6b9272157b73f6 100644 (file)
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <asm/ibmpc.h>
 #include <asm/pnp_def.h>
+#include <netdev.h>
 #include <smsc_lpc47m.h>
 
 #define SERIAL_DEV PNP_DEV(0x2e, 4)
@@ -24,3 +25,8 @@ void setup_pch_gpios(u16 gpiobase, const struct pch_gpio_map *gpio)
 {
        return;
 }
+
+int board_eth_init(bd_t *bis)
+{
+       return pci_eth_init(bis);
+}
index a051b1149b5e9aee43335d3322f66586368a11d2..09a52ab0df4e150a700bc99a3a9f1e610c23fbc7 100644 (file)
@@ -37,6 +37,7 @@
 
 #define CONFIG_SYS_EARLY_PCI_INIT
 #define CONFIG_PCI_PNP
+#define CONFIG_E1000
 
 #define CONFIG_STD_DEVICES_SETTINGS     "stdin=serial\0" \
                                        "stdout=serial\0" \