x86: coreboot: Convert to use more dm drivers
PATCH 1/2 x86: coreboot: Convert to use more dm drivers
Move to driver model for RTC, USB and ETH on coreboot.
---
arch/x86/cpu/coreboot/coreboot.c | 6 ------ configs/coreboot-x86_defconfig | 5 ++++- 2 files changed, 4 insertions(+), 7 deletions(-)
arch/x86/cpu/coreboot/coreboot.c +0 -6
@@ -8,7 +8,6 @@#include <common.h> #include <fdtdec.h> -#include <netdev.h> #include <asm/io.h> #include <asm/msr.h> #include <asm/mtrr.h>
@@ -48,11 +47,6 @@ int last_stage_init(void)return 0 ; } -int board_eth_init (bd_t *bis) -{ -return pci_eth_init (bis); -} -void board_final_cleanup (void ) {/*
configs/coreboot-x86_defconfig +4 -1
@@ -12,7 +12,10 @@ CONFIG_CMD_BOOTSTAGE=y CONFIG_OF_CONTROL=y CONFIG_DM_PCI=y CONFIG_SPI_FLASH=y -CONFIG_NETDEVICES=y +CONFIG_DM_ETH=y CONFIG_E1000=y +CONFIG_USB=y +CONFIG_DM_USB=y +CONFIG_DM_RTC=y CONFIG_USE_PRIVATE_LIBGCC=y CONFIG_SYS_VSNPRINTF=y
Signature · 1 line
1.8.2.1
PATCH 2/2 x86: bayleybay: Convert to use more dm drivers
Move to driver model for USB and ETH on Intel Bayley Bay.
---
board/intel/bayleybay/bayleybay.c | 6 ------ configs/bayleybay_defconfig | 4 +++- 2 files changed, 3 insertions(+), 7 deletions(-)
board/intel/bayleybay/bayleybay.c +0 -6
@@ -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); -}
configs/bayleybay_defconfig +3 -1
@@ -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
Signature · 1 line
1.8.2.1
PATCH 2/2 x86: bayleybay: Convert to use more dm drivers
Quoted 8 lines · Bin Meng
Move to driver model for USB and ETH on Intel Bayley Bay.
Signed-off-by Bin Meng <[email protected]>---
board/intel/bayleybay/bayleybay.c | 6 ------ configs/bayleybay_defconfig | 4 +++- 2 files changed, 3 insertions(+), 7 deletions(-)
PATCH 2/2 x86: bayleybay: Convert to use more dm drivers
Quoted 11 lines · Simon Glass
Quoted 8 lines · Bin Meng
Move to driver model for USB and ETH on Intel Bayley Bay.
Signed-off-by Bin Meng <[email protected]>---
board/intel/bayleybay/bayleybay.c | 6 ------ configs/bayleybay_defconfig | 4 +++- 2 files changed, 3 insertions(+), 7 deletions(-)Acked-by Simon Glass <[email protected]>
Great to get these conversions in.
Applied to u-boot-x86, thanks!
PATCH 1/2 x86: coreboot: Convert to use more dm drivers
In reply to Bin MengQuoted 8 lines · Bin Meng
Move to driver model for RTC, USB and ETH on coreboot.
Signed-off-by Bin Meng <[email protected]>---
arch/x86/cpu/coreboot/coreboot.c | 6 ------ configs/coreboot-x86_defconfig | 5 ++++- 2 files changed, 4 insertions(+), 7 deletions(-)
PATCH 1/2 x86: coreboot: Convert to use more dm drivers
Quoted 11 lines · Simon Glass
Quoted 8 lines · Bin Meng
Move to driver model for RTC, USB and ETH on coreboot.
Signed-off-by Bin Meng <[email protected]>---
arch/x86/cpu/coreboot/coreboot.c | 6 ------ configs/coreboot-x86_defconfig | 5 ++++- 2 files changed, 4 insertions(+), 7 deletions(-)Acked-by Simon Glass <[email protected]>
Applied to u-boot-x86, thanks!