diff options
Diffstat (limited to 'src/console/post.c')
-rw-r--r-- | src/console/post.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/console/post.c b/src/console/post.c index a565c6bcfb..81a9d398c7 100644 --- a/src/console/post.c +++ b/src/console/post.c @@ -100,7 +100,9 @@ void post_code(uint8_t value) #if CONFIG_CMOS_POST cmos_post_code(value); #endif - outb(value, CONFIG_POST_PORT); +#if CONFIG_IO_POST + outb(value, CONFIG_IO_POST_PORT); +#endif #endif mainboard_post(value); } |