summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-08-27 22:25:56 -0700
committerSimon Glass <sjg@chromium.org>2015-09-09 07:48:03 -0600
commit868767c71a375a07a44cc4fd49d67a4e2b1b9e8b (patch)
treed0a5b2b4a0d93485a6a3a0e36552fa5460f4982b
parentb4f53e739ed38658fcbe11747aa3a393665e23ab (diff)
downloadblackbird-obmc-uboot-868767c71a375a07a44cc4fd49d67a4e2b1b9e8b.tar.gz
blackbird-obmc-uboot-868767c71a375a07a44cc4fd49d67a4e2b1b9e8b.zip
x86: crownbay: Convert to use CONFIG_DM_ETH for E1000
Since E1000 driver has been converted to driver model, enable it on Intel Crown Bay. But the Intel Topcliff GbE driver has not been converted to driver model yet, disable it for now. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
-rw-r--r--board/intel/crownbay/crownbay.c6
-rw-r--r--configs/crownbay_defconfig2
-rw-r--r--include/configs/crownbay.h1
3 files changed, 1 insertions, 8 deletions
diff --git a/board/intel/crownbay/crownbay.c b/board/intel/crownbay/crownbay.c
index d6de9fabc0..3a79e69112 100644
--- a/board/intel/crownbay/crownbay.c
+++ b/board/intel/crownbay/crownbay.c
@@ -7,7 +7,6 @@
#include <common.h>
#include <asm/ibmpc.h>
#include <asm/pnp_def.h>
-#include <netdev.h>
#include <smsc_lpc47m.h>
int board_early_init_f(void)
@@ -24,8 +23,3 @@ 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);
-}
diff --git a/configs/crownbay_defconfig b/configs/crownbay_defconfig
index 6edd71022d..f027fafb76 100644
--- a/configs/crownbay_defconfig
+++ b/configs/crownbay_defconfig
@@ -19,7 +19,7 @@ CONFIG_OF_CONTROL=y
CONFIG_CPU=y
CONFIG_DM_PCI=y
CONFIG_SPI_FLASH=y
-CONFIG_NETDEVICES=y
+CONFIG_DM_ETH=y
CONFIG_E1000=y
CONFIG_VIDEO_VESA=y
CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h
index 998da78842..a344c85f41 100644
--- a/include/configs/crownbay.h
+++ b/include/configs/crownbay.h
@@ -50,7 +50,6 @@
#define CONFIG_CMD_MMC
/* Topcliff Gigabit Ethernet */
-#define CONFIG_PCH_GBE
#define CONFIG_PHYLIB
/* Environment configuration */
OpenPOWER on IntegriCloud