From 468e81c405e5d14de4bc7b0d7a4a5540a576a45e Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Fri, 28 Aug 2015 02:22:39 -0700 Subject: [PATCH] x86: bayleybay: Convert to use more dm drivers Move to driver model for USB and ETH on Intel Bayley Bay. Signed-off-by: Bin Meng Acked-by: Simon Glass --- board/intel/bayleybay/bayleybay.c | 6 ------ configs/bayleybay_defconfig | 4 +++- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/board/intel/bayleybay/bayleybay.c b/board/intel/bayleybay/bayleybay.c index 78447965b9..ccbe860b14 100644 --- a/board/intel/bayleybay/bayleybay.c +++ b/board/intel/bayleybay/bayleybay.c @@ -6,14 +6,8 @@ #include #include -#include 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/bayleybay_defconfig b/configs/bayleybay_defconfig index 766576df30..2ea30c8227 100644 --- a/configs/bayleybay_defconfig +++ b/configs/bayleybay_defconfig @@ -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 -- 2.25.1