Edward O'Callaghan (eocallaghan@alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6891
-gerrit
commit dea0ec5cad8af212f8525d499779cf9bfc9ea268 Author: Edward O'Callaghan eocallaghan@alterapraxis.com Date: Sat Sep 13 03:43:49 2014 +1000
Kconfig: Allow native vga init to be selectable for SeaBIOS payload
Change-Id: I1508f3d3c56cb9afbf4a23355831549552a62866 Signed-off-by: Edward O'Callaghan eocallaghan@alterapraxis.com --- payloads/external/SeaBIOS/Makefile.inc | 3 +++ src/Kconfig | 11 +++++++++++ src/arch/x86/Makefile.inc | 1 + 3 files changed, 15 insertions(+)
diff --git a/payloads/external/SeaBIOS/Makefile.inc b/payloads/external/SeaBIOS/Makefile.inc index 97f9d56..7fe9751 100644 --- a/payloads/external/SeaBIOS/Makefile.inc +++ b/payloads/external/SeaBIOS/Makefile.inc @@ -34,6 +34,9 @@ endif ifneq ($(CONFIG_SEABIOS_THREAD_OPTIONROMS),y) echo "# CONFIG_THREAD_OPTIONROMS is not set" >> seabios/.config endif +ifneq ($(CONFIG_SEABIOS_VGA_COREBOOT),y) + echo "# CONFIG_VGA_COREBOOT 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/ diff --git a/src/Kconfig b/src/Kconfig index 97a4799..aaea0d9 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -623,6 +623,17 @@ config SEABIOS_THREAD_OPTIONROMS variations during option ROM code execution. It is not known if all option ROMs will behave properly with this option.
+config SEABIOS_VGA_COREBOOT + prompt "Provide an option rom that implements legacy VGA BIOS compatibility for coreboot initialized GPUs" if PAYLOAD_SEABIOS + default n + depends on !CONFIG_VGA_BIOS && CONFIG_NATIVE_VGA + bool + help + Coreboot can initialize the GPU of some mainboards. + + After initializing the GPU, the information about it is passed to the payload. + + choice prompt "GRUB2 version" default GRUB2_MASTER diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc index 036dc1a..32fc52e 100644 --- a/src/arch/x86/Makefile.inc +++ b/src/arch/x86/Makefile.inc @@ -349,6 +349,7 @@ seabios: CONFIG_SEABIOS_MASTER=$(CONFIG_SEABIOS_MASTER) \ CONFIG_SEABIOS_STABLE=$(CONFIG_SEABIOS_STABLE) \ CONFIG_SEABIOS_THREAD_OPTIONROMS=$(CONFIG_SEABIOS_THREAD_OPTIONROMS) \ + CONFIG_SEABIOS_VGA_COREBOOT=$(CONFIG_SEABIOS_VGA_COREBOOT) \ CONFIG_CONSOLE_SERIAL=$(CONFIG_CONSOLE_SERIAL) \ CONFIG_TTYS0_BASE=$(CONFIG_TTYS0_BASE) \ OUT=$(abspath $(obj)) IASL="$(IASL)"