Idwer Vollering 5809a7395d 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>
2014-03-16 21:42:49 +01:00

13 lines
189 B
C

#include <console/post_codes.h>
#if CONFIG_POST_IO
#define post_code(value) \
movb $value, %al; \
outb %al, $CONFIG_POST_IO_PORT
#else
#define post_code(value)
#endif