x86: bayleybay: Convert to use more dm drivers
authorBin Meng <bmeng.cn@gmail.com>
Fri, 28 Aug 2015 09:22:39 +0000 (02:22 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 9 Sep 2015 13:48:03 +0000 (07:48 -0600)
Move to driver model for USB and ETH on Intel Bayley Bay.

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

index 78447965b9287a459f40c59784a996c1dc37f644..ccbe860b147ad4bbec98fa7ce2d8f281e509b55f 100644 (file)
@@ -6,14 +6,8 @@
 
 #include <common.h>
 #include <asm/gpio.h>
-#include <netdev.h>
 
 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 766576df30c54013067e5a2efc69934b854aa939..2ea30c82275f3d62b2017b0db2d6b4a7842523c4 100644 (file)
@@ -20,11 +20,13 @@ 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
 CONFIG_FRAMEBUFFER_VESA_MODE_11A=y
+CONFIG_USB=y
+CONFIG_DM_USB=y
 CONFIG_DM_RTC=y
 CONFIG_USE_PRIVATE_LIBGCC=y
 CONFIG_SYS_VSNPRINTF=y