summaryrefslogtreecommitdiff
path: root/payloads/external/SeaBIOS/Makefile
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2020-03-26 21:13:24 -0500
committerPatrick Georgi <pgeorgi@google.com>2020-05-02 17:06:58 +0000
commit9d821fa1d12ccdb8e7816cab14ef5abdc8143f7a (patch)
tree015f61a392931f9a0e541d57ff565631ca0cd1ff /payloads/external/SeaBIOS/Makefile
parentf213f1799244ccfe4acab99c22df3dd183a3965b (diff)
downloadcoreboot-9d821fa1d12ccdb8e7816cab14ef5abdc8143f7a.tar.xz
payloads/seabios: Add Hardware IRQ Kconfig
Certain boards require SeaBIOS' HARDWARE_IRQ option to be deselected in order for the platform to boot. Add a Kconfig to allow selection of HARDWARE_IRQ enablement, and write to SeaBIOS' .config file in cases where it needs to be disabled. Deselect the option for google/rambi variants so they boot with boards defaults. Test: build/boot google/clapper, verify board boots vs hanging at boot menu prompt. Change-Id: I23e9b30d2d1042c86bd10f134d6fe361edaf8cb2 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39869 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'payloads/external/SeaBIOS/Makefile')
-rw-r--r--payloads/external/SeaBIOS/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/payloads/external/SeaBIOS/Makefile b/payloads/external/SeaBIOS/Makefile
index 0086775b8d..cd646d9d73 100644
--- a/payloads/external/SeaBIOS/Makefile
+++ b/payloads/external/SeaBIOS/Makefile
@@ -72,6 +72,9 @@ endif
ifneq ($(CONFIG_SEABIOS_DEBUG_LEVEL),-1)
echo "CONFIG_DEBUG_LEVEL=$(CONFIG_SEABIOS_DEBUG_LEVEL)" >> seabios/.config
endif
+ifneq ($(CONFIG_SEABIOS_HARDWARE_IRQ),y)
+ echo "# CONFIG_HARDWARE_IRQ is not set" >> seabios/.config
+endif
# This shows how to force a previously set .config option *off*
# echo "# CONFIG_SMBIOS is not set" >> seabios/.config
$(MAKE) -C seabios olddefconfig OUT=out/