[SeaBIOS] [PATCH] Disable ScreenAndDebug in case both serial console and serial debug are active

Gerd Hoffmann posted 1 patch 6 years, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/seabios tags/patchew/20171103074057.9483-1-kraxel@redhat.com
src/sercon.c | 4 ++++
1 file changed, 4 insertions(+)
[SeaBIOS] [PATCH] Disable ScreenAndDebug in case both serial console and serial debug are active
Posted by Gerd Hoffmann 6 years, 5 months ago
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 src/sercon.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/sercon.c b/src/sercon.c
index 0b7722ec08..72ebf82452 100644
--- a/src/sercon.c
+++ b/src/sercon.c
@@ -523,6 +523,10 @@ void sercon_setup(void)
         return;
     dprintf(1, "sercon: using ioport 0x%x\n", addr);
 
+    if (CONFIG_DEBUG_SERIAL)
+        if (addr == CONFIG_DEBUG_SERIAL_PORT)
+            ScreenAndDebug = 0;
+
     vgabios = GET_IVT(0x10);
     seabios = FUNC16(entry_10);
     if (vgabios.seg != seabios.seg ||
-- 
2.9.3


_______________________________________________
SeaBIOS mailing list
SeaBIOS@seabios.org
https://mail.coreboot.org/mailman/listinfo/seabios
Re: [SeaBIOS] [PATCH] Disable ScreenAndDebug in case both serial console and serial debug are active
Posted by Kevin O'Connor 6 years, 5 months ago
On Fri, Nov 03, 2017 at 08:40:57AM +0100, Gerd Hoffmann wrote:
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>

Thanks.  I committed this patch.  Due to this and the recent change to
timer_calc_usec, I'm going to push back the release a few days.

-Kevin

_______________________________________________
SeaBIOS mailing list
SeaBIOS@seabios.org
https://mail.coreboot.org/mailman/listinfo/seabios