diff options
| author | Stewart Smith <stewart@linux.ibm.com> | 2018-12-13 17:07:04 +1100 |
|---|---|---|
| committer | Raptor Engineering Development Team <support@raptorengineering.com> | 2019-04-24 08:01:48 +0000 |
| commit | 90be8a8dfe4c902a95f4c234ef8619e1cd99742e (patch) | |
| tree | 742ab0a011788dc1a8a4f7a85db0124db52358eb /include | |
| parent | 456cef2f6810d80111208ae48147ff709b0dd6d0 (diff) | |
| download | talos-skiboot-90be8a8dfe4c902a95f4c234ef8619e1cd99742e.tar.gz talos-skiboot-90be8a8dfe4c902a95f4c234ef8619e1cd99742e.zip | |
Write boot progress to LPC port 80h
This is an adaptation of what we currently do for op_display() on FSP
machines, inventing an encoding for what we can write into the single
byte at LPC port 80h.
Port 80h is often used on x86 systems to indicate boot progress/status
and dates back a decent amount of time. Since a byte isn't exactly very
expressive for everything that can go on (and wrong) during boot, it's
all about compromise.
Some systems (such as Zaius/Barreleye G2) have a physical dual 7 segment
display that display these codes. So far, this has only been driven by
hostboot (see hostboot commit 90ec2e65314c).
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/op-panel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/op-panel.h b/include/op-panel.h index 6a935b80..557e750d 100644 --- a/include/op-panel.h +++ b/include/op-panel.h @@ -41,7 +41,6 @@ enum op_module { OP_MOD_CHIPTOD = 0x3035, /* '05' - ChipTOP */ OP_MOD_CPU = 0x3036, /* '06' - CPU bringup */ OP_MOD_MEM = 0x3037, /* '07' - Memory */ - OP_MOD_XSCOM = 0x3038, /* '08' - XSCOM */ }; /* Common codes: @@ -63,6 +62,7 @@ enum op_module { */ extern void op_display(enum op_severity, enum op_module, uint16_t code); +extern void op_display_lpc(enum op_severity s, enum op_module m, uint16_t c); extern void op_panel_disable_src_echo(void); extern void op_panel_clear_src(void); |

