console: support integrated 7-segment displays for POST codes
[coreboot.git] / src / console / post.c
index 3872c2d4fefa2b2778dd9b886abf0d4d8c515010..7fc9d6fc6ee9344c3cbedf49057ae809d0481612 100644 (file)
@@ -32,6 +32,6 @@ void post_code(uint8_t value)
        print_emerg_hex8(value);
        print_emerg("\n");
 #endif
-       outb(value, 0x80);
+       outb(value, CONFIG_POST_PORT);
 #endif
 }