[coreboot-gerrit] Patch set updated for coreboot: 57c38eb Make early x86 POST codes written to IO port optional

Martin Roth (martin.roth@se-eng.com) gerrit at coreboot.org
Sat May 11 03:03:18 CEST 2013


Martin Roth (martin.roth at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3237

-gerrit

commit 57c38eb7f98152b3e8588a7203c7972528c3ca62
Author: Martin Roth <martin.roth at se-eng.com>
Date:   Fri May 10 13:40:29 2013 -0600

    Make early x86 POST codes written to IO port optional
    
    This continues the work done in patch 6b908d08ab
    http://review.coreboot.org/#/c/1685/
    and makes the early x86 post codes follow the same options.
    
    Change-Id: Idf0c17b27b3516e79a9a53048bc203245f7c18ff
    Signed-off-by: Martin Roth <martin.roth at se-eng.com>
---
 src/include/cpu/x86/post_code.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/include/cpu/x86/post_code.h b/src/include/cpu/x86/post_code.h
index 20b87c6..7465f62 100644
--- a/src/include/cpu/x86/post_code.h
+++ b/src/include/cpu/x86/post_code.h
@@ -1,7 +1,12 @@
 
 #include <console/post_codes.h>
 
+
+#if CONFIG_IO_POST
 #define post_code(value)        \
 	movb    $value, %al;    \
-	outb    %al, $0x80
+	outb    %al, $CONFIG_IO_POST_PORT
 
+#else
+#define post_code(value)
+#endif



More information about the coreboot-gerrit mailing list