repo.or.cz
/
coreboot2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
mb/asus/p8z77-m: Drop GPIO by I/O
[coreboot2.git]
/
src
/
arch
/
x86
/
post.c
blob
908cc3bd36ae348a77b27006d95607508b0f2de6
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <arch/io.h>
4
#include <console/console.h>
5
#include <post.h>
6
#include <stdint.h>
7
8
void
arch_post_code
(
uint8_t
value
)
9
{
10
if
(
CONFIG
(
POST_IO
))
11
outb
(
value
,
CONFIG_POST_IO_PORT
);
12
13
if
(
CONFIG
(
CMOS_POST
) && !
ENV_SMM
)
14
cmos_post_code
(
value
);
15
}