From: Bin Meng Date: Fri, 28 Aug 2015 09:22:39 +0000 (-0700) Subject: x86: bayleybay: Convert to use more dm drivers X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=468e81c405e5d14de4bc7b0d7a4a5540a576a45e;p=project%2Fbcm63xx%2Fu-boot.git 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 --- 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