aboutsummaryrefslogtreecommitdiff
path: root/include/platform.h
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2019-06-18 17:29:09 +1000
committerStewart Smith <stewart@linux.ibm.com>2019-06-24 15:59:07 +1000
commitbad74d247bcc8d06460fb1ea13d8413a69497344 (patch)
tree5b391e666c6d4ffbd76f4f22790b139e3de0050c /include/platform.h
parentd615b964a94644a7483b019360e670e78c6ea08f (diff)
downloadskiboot-bad74d247bcc8d06460fb1ea13d8413a69497344.zip
skiboot-bad74d247bcc8d06460fb1ea13d8413a69497344.tar.gz
skiboot-bad74d247bcc8d06460fb1ea13d8413a69497344.tar.bz2
op_display: make platform function rather than "FSP" specific
We have an implementation for non-FSP systems now, and we shouldn't be calling that from code in an fsp/ directory, so move op_display() to a platform function. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include/platform.h')
-rw-r--r--include/platform.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index 4f8627a..9a77586 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -237,6 +237,14 @@ struct platform {
* SEEPROM update routine
*/
void (*seeprom_update)(void);
+
+ /*
+ * Operator Panel display
+ * Physical FSP op panel or LPC port 80h
+ * or any other "get boot status out to the user" thing.
+ */
+ void (*op_display)(enum op_severity sev, enum op_module mod,
+ uint16_t code);
};
extern struct platform __platforms_start;