summaryrefslogtreecommitdiff
path: root/src/console/post.c
diff options
context:
space:
mode:
authorIdwer Vollering <vidwer@gmail.com>2014-03-11 15:36:21 +0000
committerIdwer Vollering <vidwer@gmail.com>2014-03-16 21:42:49 +0100
commit5809a7395d49122757a0ebdfa120e023ebe876ba (patch)
treec178320e69a870cae3a6f94d0547aa40ced3ac2e /src/console/post.c
parentc078094f39d8683b9a1087dc7f60e8605733ed99 (diff)
Make POST device configurable.
Change-Id: If92b50ab3888518228d2d3b76f5c50c4aef968dd Signed-off-by: Idwer Vollering <vidwer@gmail.com> Reviewed-on: http://review.coreboot.org/4561 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/console/post.c')
-rw-r--r--src/console/post.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/console/post.c b/src/console/post.c
index 35cc0e85e1..ef1a3a5a1d 100644
--- a/src/console/post.c
+++ b/src/console/post.c
@@ -161,8 +161,8 @@ void post_code(uint8_t value)
#if CONFIG_CMOS_POST
cmos_post_code(value);
#endif
-#if CONFIG_IO_POST
- outb(value, CONFIG_IO_POST_PORT);
+#if CONFIG_POST_IO
+ outb(value, CONFIG_POST_IO_PORT);
#endif
#endif
mainboard_post(value);