[coreboot-gerrit] New patch to review for coreboot: SeaBIOS: Disable serial console if serial is memory mapped

Martin Roth (martinroth@google.com) gerrit at coreboot.org
Sat Feb 6 20:47:54 CET 2016


Martin Roth (martinroth at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13617

-gerrit

commit bde42706c076907f2d3e6f8913e45630b0a919ad
Author: Martin Roth <martinroth at google.com>
Date:   Sat Feb 6 12:47:05 2016 -0700

    SeaBIOS: Disable serial console if serial is memory mapped
    
    SeaBIOS only supports standard IO based serial ports.  If the serial
    port being used by coreboot isn't a standard IO serial port, disable
    the serial console in the SeaBIOS build.
    
    Change-Id: I386b46625fca0bd0a5416ed9831f8370c294ed74
    Signed-off-by: Martin Roth <martinroth at google.com>
---
 payloads/external/Makefile.inc         | 1 +
 payloads/external/SeaBIOS/Makefile.inc | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/payloads/external/Makefile.inc b/payloads/external/Makefile.inc
index 941af61..3743507 100644
--- a/payloads/external/Makefile.inc
+++ b/payloads/external/Makefile.inc
@@ -48,6 +48,7 @@ seabios:
 			CONFIG_PAYLOAD_CONFIGFILE=$(CONFIG_PAYLOAD_CONFIGFILE) \
 			CONFIG_SEABIOS_THREAD_OPTIONROMS=$(CONFIG_SEABIOS_THREAD_OPTIONROMS) \
 			CONFIG_SEABIOS_VGA_COREBOOT=$(CONFIG_SEABIOS_VGA_COREBOOT) \
+			CONFIG_DRIVERS_UART_8250IO=$(CONFIG_DRIVERS_UART_8250IO) \
 			CONFIG_CONSOLE_SERIAL=$(CONFIG_CONSOLE_SERIAL) \
 			CONFIG_TTYS0_BASE=$(CONFIG_TTYS0_BASE)
 
diff --git a/payloads/external/SeaBIOS/Makefile.inc b/payloads/external/SeaBIOS/Makefile.inc
index 48a6a6f..e478a09 100644
--- a/payloads/external/SeaBIOS/Makefile.inc
+++ b/payloads/external/SeaBIOS/Makefile.inc
@@ -25,7 +25,7 @@ checkout: fetch
 config: checkout
 	echo "    CONFIG     SeaBIOS $(TAG-y)"
 	echo "CONFIG_COREBOOT=y" > seabios/.config
-ifeq ($(CONFIG_CONSOLE_SERIAL),y)
+ifeq ($(CONFIG_CONSOLE_SERIAL)$(CONFIG_DRIVERS_UART_8250IO),yy)
 	echo "CONFIG_DEBUG_SERIAL=y" >> seabios/.config
 	echo "CONFIG_DEBUG_SERIAL_PORT=$(CONFIG_TTYS0_BASE)" >> seabios/.config
 else



More information about the coreboot-gerrit mailing list