drivers/qemu/bochs: Allow building for non-x86 architectures
The Bochs display driver uses port I/O functions to initialize the VGA device, so it could only have been built on x86 architectures so far, but its supported devices can be used just fine on others on the QEMU side as long as the emulated platform supports PCI. A previous commit adds port I/O functions for more including ARM* and RISC-V, which should enable this driver to be successfully built and used on these as well. Allow the Bochs display driver to be built for non-x86 QEMU boards by changing the Kconfig dependencies. Make VGA text framebuffer support depend on x86, because it isn't usable at the standard 0xB8000 address on other architectures. Add a dependency on PCI since this is a PCI device and vexpress-a9 (qemu-armv7) doesn't have the (emulated) hardware for PCI. Change-Id: I7f72d7ea13e54ecf89d067394c02b572c5f92d24 Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80376 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Alicja Michalska <ahplka19@gmail.com> Reviewed-by: David Hendricks <david.hendricks@gmail.com> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
parent
d233b6c903
commit
5171098814
1 changed files with 3 additions and 2 deletions
|
|
@ -3,9 +3,10 @@
|
|||
config DRIVERS_EMULATION_QEMU_BOCHS
|
||||
bool "bochs dispi interface vga driver"
|
||||
default y
|
||||
depends on CPU_QEMU_X86
|
||||
depends on PCI
|
||||
depends on VENDOR_EMULATION
|
||||
depends on MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
select HAVE_VGA_TEXT_FRAMEBUFFER
|
||||
select HAVE_VGA_TEXT_FRAMEBUFFER if CPU_QEMU_X86
|
||||
select HAVE_LINEAR_FRAMEBUFFER
|
||||
select VGA
|
||||
help
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue