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>
This commit is contained in:
parent
c078094f39
commit
5809a7395d
4 changed files with 37 additions and 20 deletions
|
|
@ -2,10 +2,10 @@
|
|||
#include <console/post_codes.h>
|
||||
|
||||
|
||||
#if CONFIG_IO_POST
|
||||
#if CONFIG_POST_IO
|
||||
#define post_code(value) \
|
||||
movb $value, %al; \
|
||||
outb %al, $CONFIG_IO_POST_PORT
|
||||
outb %al, $CONFIG_POST_IO_PORT
|
||||
|
||||
#else
|
||||
#define post_code(value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue