diff options
Diffstat (limited to 'hw/fsp')
-rw-r--r-- | hw/fsp/fsp-op-panel.c | 6 |
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; |