diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2019-06-18 17:29:09 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-06-24 15:59:07 +1000 |
commit | bad74d247bcc8d06460fb1ea13d8413a69497344 (patch) | |
tree | 5b391e666c6d4ffbd76f4f22790b139e3de0050c /include | |
parent | d615b964a94644a7483b019360e670e78c6ea08f (diff) | |
download | skiboot-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')
-rw-r--r-- | include/fsp.h | 2 | ||||
-rw-r--r-- | include/platform.h | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/fsp.h b/include/fsp.h index cfa51af..0df7f93 100644 --- a/include/fsp.h +++ b/include/fsp.h @@ -853,4 +853,6 @@ extern void fsp_chiptod_init(void); /* Terminate immediate */ extern void __attribute__((noreturn)) ibm_fsp_terminate(const char *msg); +void fsp_op_display(enum op_severity sev, enum op_module mod, uint16_t code); + #endif /* __FSP_H */ 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; |