]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Allow video-BIOS code to be built for SPL
authorSimon Glass <sjg@chromium.org>
Sun, 16 Jul 2023 03:38:58 +0000 (21:38 -0600)
committerBin Meng <bmeng@tinylab.org>
Mon, 17 Jul 2023 09:12:26 +0000 (17:12 +0800)
commit5345700d2af425a8c5a36c078db5d71bf31280c7
tree6eee64ed67989449b2e3d0a1c7dffff085926e19
parentd424553675e93495f346ea7b24beb8c3dd750c67
x86: Allow video-BIOS code to be built for SPL

With qemu-x86_64 we need to run the video BIOS while in 32-bit mode, i.e.
SPL. Add a Kconfig option for this, adjust the Makefile rules and use
CONFIG_IS_ENABLED() where needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/Makefile
arch/x86/lib/bios.c
drivers/pci/pci_rom.c