[SeaBIOS] [PATCH v2 5/6] add support for etc/sercon-iobase cbfs file

Gerd Hoffmann kraxel at redhat.com
Thu Sep 14 09:08:21 CEST 2017


Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
 src/optionroms.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/optionroms.c b/src/optionroms.c
index 21b72a8ba0..432e8cb02a 100644
--- a/src/optionroms.c
+++ b/src/optionroms.c
@@ -438,6 +438,9 @@ vgarom_setup(void)
     ret = romfile_loadint("etc/sercon-enable", 0);
     if (ret)
         iobase = PORT_SERIAL1;
+    ret = romfile_loadint("etc/sercon-iobase", 0);
+    if (ret)
+        iobase = ret;
 
     if (rom_get_last() == BUILD_ROM_START) {
         // No VGA rom found
-- 
2.9.3




More information about the SeaBIOS mailing list