mb/asus/p8z77-m: Drop GPIO by I/O
[coreboot2.git] / src / arch / x86 / post.c
blob908cc3bd36ae348a77b27006d95607508b0f2de6
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <arch/io.h>
4 #include <console/console.h>
5 #include <post.h>
6 #include <stdint.h>
8 void arch_post_code(uint8_t value)
10 if (CONFIG(POST_IO))
11 outb(value, CONFIG_POST_IO_PORT);
13 if (CONFIG(CMOS_POST) && !ENV_SMM)
14 cmos_post_code(value);