diff options
author | Simon Glass <sjg@chromium.org> | 2015-08-11 04:02:53 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-08-14 15:50:11 (GMT) |
commit | b8098bc1c14ca397291209e0281f0862ddc6f057 (patch) | |
tree | da175f5954101b19992833a366471a17087f01ab | |
parent | 3d4e2491ff4979ace37bbecb5081d52d3f6c1fec (diff) | |
download | u-boot-fsl-qoriq-b8098bc1c14ca397291209e0281f0862ddc6f057.tar.xz |
x86: Convert minnowmax to use CONFIG_DM_NET
Move to driver model for networking on minnowmax.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r-- | board/intel/minnowmax/minnowmax.c | 6 | ||||
-rw-r--r-- | configs/minnowmax_defconfig | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/board/intel/minnowmax/minnowmax.c b/board/intel/minnowmax/minnowmax.c index c4f2c33..44e5bf4 100644 --- a/board/intel/minnowmax/minnowmax.c +++ b/board/intel/minnowmax/minnowmax.c @@ -6,7 +6,6 @@ #include <common.h> #include <asm/gpio.h> -#include <netdev.h> int arch_early_init_r(void) { @@ -20,8 +19,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 2d9fa8c..578fcce 100644 --- a/configs/minnowmax_defconfig +++ b/configs/minnowmax_defconfig @@ -18,6 +18,7 @@ CONFIG_OF_CONTROL=y CONFIG_CPU=y CONFIG_DM_PCI=y CONFIG_SPI_FLASH=y +CONFIG_DM_ETH=y CONFIG_DEBUG_UART=y CONFIG_DEBUG_UART_BASE=0x3f8 CONFIG_DEBUG_UART_CLOCK=1843200 |