aboutsummaryrefslogtreecommitdiff
path: root/include/op-panel.h
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2019-04-26 11:59:57 -0500
committerStewart Smith <stewart@linux.ibm.com>2019-05-02 09:57:15 +1000
commitb877a4e8b9eaafcacd2ed31ebcf47b769929e68d (patch)
tree3800af8139ceb1409d5453df331abf7722517a3c /include/op-panel.h
parentc51914b87b48a7b836b5048961e891e23cba457c (diff)
downloadskiboot-b877a4e8b9eaafcacd2ed31ebcf47b769929e68d.zip
skiboot-b877a4e8b9eaafcacd2ed31ebcf47b769929e68d.tar.gz
skiboot-b877a4e8b9eaafcacd2ed31ebcf47b769929e68d.tar.bz2
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/op-panel.h')
-rw-r--r--include/op-panel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/op-panel.h b/include/op-panel.h
index 6a935b8..557e750 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);