[coreboot-gerrit] Change in coreboot[master]: payloads/external/SeaBIOS: add support for sercon port

Piotr Król (Code Review) gerrit at coreboot.org
Fri May 4 15:33:01 CEST 2018


Piotr Król has uploaded this change for review. ( https://review.coreboot.org/26060


Change subject: payloads/external/SeaBIOS: add support for sercon port
......................................................................

payloads/external/SeaBIOS: add support for sercon port

Change-Id: Id2d2ed0fa97f2cef5818a8508bb8ee3ddba73647
Signed-off-by: Piotr Król <piotr.krol at 3mdeb.com>
Signed-off-by: Michał Żygowski <michal.zygowski at 3mdeb.com>
---
M payloads/external/Makefile.inc
M payloads/external/SeaBIOS/Kconfig
2 files changed, 15 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/26060/1

diff --git a/payloads/external/Makefile.inc b/payloads/external/Makefile.inc
index ec7d9a8..d4c1862 100644
--- a/payloads/external/Makefile.inc
+++ b/payloads/external/Makefile.inc
@@ -106,6 +106,14 @@
 bootorder-type := raw
 endif
 
+
+# add a SeaBIOS sercon-port file
+ifneq ($(strip $(CONFIG_SEABIOS_SERCON_PORT_FILE)),)
+cbfs-files-y += etc/sercon-port
+etc/sercon-port-file := $(strip $(CONFIG_SEABIOS_SERCON_PORT_FILE))
+etc/sercon-port-type := raw
+endif
+
 # Depthcharge
 
 payloads/external/depthcharge/depthcharge/build/depthcharge.elf depthcharge: $(DOTCONFIG) $(CBFSTOOL)
diff --git a/payloads/external/SeaBIOS/Kconfig b/payloads/external/SeaBIOS/Kconfig
index 63f91d6..d7b03df 100644
--- a/payloads/external/SeaBIOS/Kconfig
+++ b/payloads/external/SeaBIOS/Kconfig
@@ -86,6 +86,13 @@
 	  If used, a typical value would be:
 	    $(top)/src/mainboard/$(MAINBOARDDIR)/bootorder
 
+config SEABIOS_SERCON_PORT_FILE
+	string "SeaBIOS sercon-port file"
+	default "$(top)/src/mainboard/$(MAINBOARDDIR)/sercon-port"
+	help
+	  "Set this to the IO address of a serial port to enable SeaBIOS' VGA
+	  adapter emulation on the given serial port. "
+
 config PAYLOAD_FILE
 	default "payloads/external/SeaBIOS/seabios/out/bios.bin.elf"
 

-- 
To view, visit https://review.coreboot.org/26060
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id2d2ed0fa97f2cef5818a8508bb8ee3ddba73647
Gerrit-Change-Number: 26060
Gerrit-PatchSet: 1
Gerrit-Owner: Piotr Król <piotr.krol at 3mdeb.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180504/8c9abd98/attachment.html>


More information about the coreboot-gerrit mailing list