aboutsummaryrefslogtreecommitdiff
path: root/hw/fsp
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 /hw/fsp
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 'hw/fsp')
-rw-r--r--hw/fsp/fsp-op-panel.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/hw/fsp/fsp-op-panel.c b/hw/fsp/fsp-op-panel.c
index 6477e73..530871f 100644
--- a/hw/fsp/fsp-op-panel.c
+++ b/hw/fsp/fsp-op-panel.c
@@ -49,16 +49,14 @@ static void fsp_op_display_fatal(uint32_t w0, uint32_t w1)
fsp_fatal_msg(&op_msg);
}
-void op_display(enum op_severity sev, enum op_module mod, uint16_t code)
+void fsp_op_display(enum op_severity sev, enum op_module mod, uint16_t code)
{
struct fsp_msg *op_msg;
uint32_t w0;
uint32_t w1;
- if (!fsp_present()) {
- op_display_lpc(sev, mod, code);
+ if (!fsp_present())
return;
- }
w0 = sev << 16 | mod;