1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __X86_POST_CODE_H__
4 #define __X86_POST_CODE_H__
6 #include <commonlib/console/post_codes.h>
8 #if CONFIG(POST_IO) && !(ENV_BOOTBLOCK && CONFIG(NO_EARLY_BOOTBLOCK_POSTCODES))
9 #define post_code(value) \
11 outb %al, $CONFIG_POST_IO_PORT
14 #define post_code(value)
17 #endif /* __X86_POST_CODE_H__ */