]> git.sur5r.net Git - u-boot/commitdiff
x86: Convert minnowmax to use CONFIG_DM_NET
authorSimon Glass <sjg@chromium.org>
Tue, 11 Aug 2015 04:02:53 +0000 (22:02 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 14 Aug 2015 15:50:11 +0000 (09:50 -0600)
Move to driver model for networking on minnowmax.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
board/intel/minnowmax/minnowmax.c
configs/minnowmax_defconfig

index c4f2c33b877f8b1ead8753a089ed14ad0cbfad1e..44e5bf4bed5b0e4cdb9110bac4f827fab41abfd8 100644 (file)
@@ -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);
-}
index 2d9fa8c8f73891ca33d9a9ab2cab5844774d6528..578fcce200fd7e42e149576907c4252fbf446798 100644 (file)
@@ -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