]> git.baikalelectronics.ru Git - uboot.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)
commit82fc0b88a53a4ac3fb4162df58c9c6ef8d0ba17e
tree6eee64ed67989449b2e3d0a1c7dffff085926e19
parentf055ddba52f8960cc08e8098130c3217a2367f1c
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