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