
This adds two new DM video drivers, one for VESA compatible device, the other one for coreboot framebuffer device. All x86 boards have been converted to use the new drivers.
Tested on Intel Crown Bay using an external graphics card, on QEMU using the on-board VGA with DM VESA driver. Tested on QEMU using the on-board VGA with DM coreboot framebuffer driver, U-Boot as coreboot payload.
This series is available at u-boot-x86/video-working.
Bin Meng (11): x86: doc: Document coreboot framebuffer driver issue on QEMU dm: video: Add driver for VESA compatible device dm: video: Output verbose information in vbe_setup_video() x86: Convert to use DM VESA video driver x86: doc: Correct qfw command example vbe: Make vbe_setup_video_priv() public dm: video: Add driver for coreboot framebuffer device dm: video: Don't do anything in alloc_fb() when plat->size is zero x86: coreboot: Convert to use DM coreboot video driver video: Remove legacy VESA and coreboot framebuffer drivers x86: Clean up unused macros in the configuration headers
arch/x86/cpu/coreboot/Kconfig | 4 - arch/x86/dts/bayleybay.dts | 1 + arch/x86/dts/broadwell_som-6896.dts | 1 + arch/x86/dts/chromebook_link.dts | 1 + arch/x86/dts/chromebook_samus.dts | 1 + arch/x86/dts/chromebox_panther.dts | 1 + arch/x86/dts/coreboot_fb.dtsi | 5 + arch/x86/dts/minnowmax.dts | 1 + configs/bayleybay_defconfig | 1 + configs/chromebox_panther_defconfig | 1 + ...conga-qeval20-qa3-e3845-internal-uart_defconfig | 1 + configs/conga-qeval20-qa3-e3845_defconfig | 1 + configs/coreboot-x86_defconfig | 2 + configs/crownbay_defconfig | 1 + configs/dfi-bt700-q7x-151_defconfig | 1 + configs/minnowmax_defconfig | 1 + configs/qemu-x86_defconfig | 1 + configs/qemu-x86_efi_payload32_defconfig | 1 + configs/qemu-x86_efi_payload64_defconfig | 1 + configs/som-db5800-som-6867_defconfig | 1 + configs/theadorable-x86-dfi-bt700_defconfig | 1 + doc/README.x86 | 9 +- drivers/pci/pci_rom.c | 15 ++- drivers/video/Kconfig | 9 ++ drivers/video/Makefile | 4 +- drivers/video/coreboot.c | 79 +++++++++++++++ drivers/video/coreboot_fb.c | 108 --------------------- drivers/video/vesa.c | 34 +++++++ drivers/video/vesa_fb.c | 63 ------------ drivers/video/video-uclass.c | 3 + include/configs/bayleybay.h | 6 +- include/configs/cougarcanyon2.h | 4 - include/configs/crownbay.h | 4 +- include/configs/efi-x86.h | 2 - include/configs/galileo.h | 4 - include/configs/minnowmax.h | 6 +- include/configs/qemu-x86.h | 4 +- include/configs/som-6896.h | 6 +- include/configs/som-db5800-som-6867.h | 6 +- include/configs/x86-chromebook.h | 12 +-- include/configs/x86-common.h | 7 -- include/vbe.h | 4 + 42 files changed, 194 insertions(+), 224 deletions(-) create mode 100644 arch/x86/dts/coreboot_fb.dtsi create mode 100644 drivers/video/coreboot.c delete mode 100644 drivers/video/coreboot_fb.c create mode 100644 drivers/video/vesa.c delete mode 100644 drivers/video/vesa_fb.c