aboutsummaryrefslogtreecommitdiff
path: root/core
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 /core
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 'core')
-rw-r--r--core/platform.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/platform.c b/core/platform.c
index afa00ad..efcf63d 100644
--- a/core/platform.c
+++ b/core/platform.c
@@ -295,3 +295,9 @@ int wait_for_resource_loaded(enum resource_id id, uint32_t idx)
id, idx, waited);
return r;
}
+
+void op_display(enum op_severity sev, enum op_module mod, uint16_t code)
+{
+ if (platform.op_display)
+ platform.op_display(sev, mod, code);
+}