[U-Boot] [PATCH 17/18] x86: Convert minnowmax to use CONFIG_DM_NET
Simon Glass
sjg at chromium.org
Tue Jul 7 00:47:56 CEST 2015
Move to driver model for networking on minnowmax.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
board/intel/minnowmax/minnowmax.c | 6 ------
configs/minnowmax_defconfig | 1 +
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/board/intel/minnowmax/minnowmax.c b/board/intel/minnowmax/minnowmax.c
index 383cae0..36f0237 100644
--- a/board/intel/minnowmax/minnowmax.c
+++ b/board/intel/minnowmax/minnowmax.c
@@ -8,7 +8,6 @@
#include <asm/gpio.h>
#include <asm/ibmpc.h>
#include <asm/pnp_def.h>
-#include <netdev.h>
#include <smsc_lpc47m.h>
#define SERIAL_DEV PNP_DEV(0x2e, 4)
@@ -32,8 +31,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/minnowmax_defconfig b/configs/minnowmax_defconfig
index ff2bfda..bd3701e 100644
--- a/configs/minnowmax_defconfig
+++ b/configs/minnowmax_defconfig
@@ -13,3 +13,4 @@ CONFIG_CMD_NET=y
CONFIG_OF_CONTROL=y
CONFIG_CPU=y
CONFIG_DM_PCI=y
+CONFIG_DM_ETH=y
--
2.4.3.573.g4eafbef
More information about the U-Boot
mailing list