drivers/asmedia: Add code to enable AHCI for ASM1061
[coreboot2.git] / src / include / cpu / x86 / post_code.h
blobdb8f90dacf6e0369a0beaf25a1702aa8b3f60460
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) \
10 movb $value, %al; \
11 outb %al, $CONFIG_POST_IO_PORT
13 #else
14 #define post_code(value)
15 #endif
17 #endif /* __X86_POST_CODE_H__ */