Change-Id: I2d7d4e0b25f2cf3eef2040f89d5ebc711909cdd7 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/20734 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
17 lines
291 B
C
17 lines
291 B
C
#ifndef __X86_POST_CODE_H__
|
|
#define __X86_POST_CODE_H__
|
|
|
|
#include <console/post_codes.h>
|
|
|
|
|
|
#if IS_ENABLED(CONFIG_POST_IO)
|
|
#define post_code(value) \
|
|
movb $value, %al; \
|
|
outb %al, $CONFIG_POST_IO_PORT
|
|
|
|
#else
|
|
#define post_code(value)
|
|
#endif
|
|
|
|
#endif /* __X86_POST_CODE_H__ */
|