From 33cde9a0ba62e8888e614a84f98860fe3a9ce82a Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Fri, 10 May 2013 13:40:29 -0600 Subject: 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 Reviewed-on: http://review.coreboot.org/3237 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/include/cpu/x86/post_code.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/include/cpu/x86/post_code.h b/src/include/cpu/x86/post_code.h index 20b87c6ca4..7465f62332 100644 --- a/src/include/cpu/x86/post_code.h +++ b/src/include/cpu/x86/post_code.h @@ -1,7 +1,12 @@ #include + +#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 -- cgit v1.2.3