diff options
author | Martin Roth <martin.roth@se-eng.com> | 2013-05-10 13:40:29 -0600 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-05-11 05:19:31 +0200 |
commit | 33cde9a0ba62e8888e614a84f98860fe3a9ce82a (patch) | |
tree | c859eaf3df8f9b3009e4491b1221c0091bd5444b /src/include/cpu | |
parent | c1ef740d88ea88c4ec7ef5449bd8d348fc15a9a2 (diff) | |
download | coreboot-33cde9a0ba62e8888e614a84f98860fe3a9ce82a.tar.xz |
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@se-eng.com>
Reviewed-on: http://review.coreboot.org/3237
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/include/cpu')
-rw-r--r-- | src/include/cpu/x86/post_code.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 <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 |