diff options
author | Alistair Popple <alistair@popple.id.au> | 2014-11-13 17:16:07 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-12-02 18:54:47 +1100 |
commit | 28a178751b4195e546e0e8d429f988793c18f848 (patch) | |
tree | 46841d8b1f50c8ccb227d89895c97198ef93050d /hw/fsp | |
parent | e9ba0c924d6eed70cef4e41695196705759e60e6 (diff) | |
download | blackbird-skiboot-28a178751b4195e546e0e8d429f988793c18f848.tar.gz blackbird-skiboot-28a178751b4195e546e0e8d429f988793c18f848.zip |
elog: Clean up error logging headers
Commit cf6f4e8912d29fb89ce85c84834607065ad595a5 introduced a platform
independent frontend for error logging. However it failed to move the
generic parts of the fsp-elog.h header into the platform independent
one, instead relying on the fact that up until now fsp-elog.h was
included whenever a function needed to log errors.
This patch moves the platform independent defines into the frontend
header file (errorlog.h) and removes the include of the platform
specific header in generic code paths.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/fsp')
-rw-r--r-- | hw/fsp/fsp-codeupdate.c | 2 | ||||
-rw-r--r-- | hw/fsp/fsp-dump.c | 2 | ||||
-rw-r--r-- | hw/fsp/fsp-leds.c | 2 | ||||
-rw-r--r-- | hw/fsp/fsp-mdst-table.c | 2 | ||||
-rw-r--r-- | hw/fsp/fsp-mem-err.c | 2 | ||||
-rw-r--r-- | hw/fsp/fsp-nvram.c | 2 | ||||
-rw-r--r-- | hw/fsp/fsp-op-panel.c | 2 | ||||
-rw-r--r-- | hw/fsp/fsp-rtc.c | 2 | ||||
-rw-r--r-- | hw/fsp/fsp-sensor.c | 2 | ||||
-rw-r--r-- | hw/fsp/fsp-surveillance.c | 2 | ||||
-rw-r--r-- | hw/fsp/fsp.c | 2 |
11 files changed, 11 insertions, 11 deletions
diff --git a/hw/fsp/fsp-codeupdate.c b/hw/fsp/fsp-codeupdate.c index bbdac373..626b3844 100644 --- a/hw/fsp/fsp-codeupdate.c +++ b/hw/fsp/fsp-codeupdate.c @@ -21,7 +21,7 @@ #include <lock.h> #include <device.h> #include <ccan/endian/endian.h> -#include <fsp-elog.h> +#include <errorlog.h> #include "fsp-codeupdate.h" diff --git a/hw/fsp/fsp-dump.c b/hw/fsp/fsp-dump.c index 891bb20d..9f0a6933 100644 --- a/hw/fsp/fsp-dump.c +++ b/hw/fsp/fsp-dump.c @@ -40,7 +40,7 @@ #include <lock.h> #include <device.h> #include <skiboot.h> -#include <fsp-elog.h> +#include <errorlog.h> /* * Max outstanding dumps to retrieve diff --git a/hw/fsp/fsp-leds.c b/hw/fsp/fsp-leds.c index 904a18ee..c131edd8 100644 --- a/hw/fsp/fsp-leds.c +++ b/hw/fsp/fsp-leds.c @@ -30,7 +30,7 @@ #include <timebase.h> #include <hdata/spira.h> #include <hdata/hdata.h> -#include <fsp-elog.h> +#include <errorlog.h> #include "fsp-leds.h" diff --git a/hw/fsp/fsp-mdst-table.c b/hw/fsp/fsp-mdst-table.c index 2dcbd500..b220fbe4 100644 --- a/hw/fsp/fsp-mdst-table.c +++ b/hw/fsp/fsp-mdst-table.c @@ -31,7 +31,7 @@ #include <opal.h> #include <lock.h> #include <skiboot.h> -#include <fsp-elog.h> +#include <errorlog.h> #include <fsp-mdst-table.h> /* diff --git a/hw/fsp/fsp-mem-err.c b/hw/fsp/fsp-mem-err.c index 5628734b..d73736b8 100644 --- a/hw/fsp/fsp-mem-err.c +++ b/hw/fsp/fsp-mem-err.c @@ -19,7 +19,7 @@ #include <opal-msg.h> #include <lock.h> #include <fsp.h> -#include <fsp-elog.h> +#include <errorlog.h> /* debug message prefix */ #define PREFIX "FSPMEMERR: " diff --git a/hw/fsp/fsp-nvram.c b/hw/fsp/fsp-nvram.c index 534ad0d1..257cdd63 100644 --- a/hw/fsp/fsp-nvram.c +++ b/hw/fsp/fsp-nvram.c @@ -19,7 +19,7 @@ #include <opal.h> #include <lock.h> #include <device.h> -#include <fsp-elog.h> +#include <errorlog.h> /* * The FSP NVRAM API operates in "blocks" of 4K. It is entirely exposed diff --git a/hw/fsp/fsp-op-panel.c b/hw/fsp/fsp-op-panel.c index e2df34ea..06939395 100644 --- a/hw/fsp/fsp-op-panel.c +++ b/hw/fsp/fsp-op-panel.c @@ -21,7 +21,7 @@ #include <device.h> #include <processor.h> #include <opal-msg.h> -#include <fsp-elog.h> +#include <errorlog.h> DEFINE_LOG_ENTRY(OPAL_RC_PANEL_WRITE, OPAL_PLATFORM_ERR_EVT, OPAL_OP_PANEL, OPAL_MISC_SUBSYSTEM, OPAL_PREDICTIVE_ERR_GENERAL, diff --git a/hw/fsp/fsp-rtc.c b/hw/fsp/fsp-rtc.c index eff2c840..704648e6 100644 --- a/hw/fsp/fsp-rtc.c +++ b/hw/fsp/fsp-rtc.c @@ -21,7 +21,7 @@ #include <time.h> #include <time-utils.h> #include <opal-msg.h> -#include <fsp-elog.h> +#include <errorlog.h> #include <device.h> /* diff --git a/hw/fsp/fsp-sensor.c b/hw/fsp/fsp-sensor.c index d2b45d45..c40ba23d 100644 --- a/hw/fsp/fsp-sensor.c +++ b/hw/fsp/fsp-sensor.c @@ -35,7 +35,7 @@ #include <device.h> #include <spcn.h> #include <opal-msg.h> -#include<fsp-elog.h> +#include<errorlog.h> #define INVALID_DATA ((uint32_t)-1) diff --git a/hw/fsp/fsp-surveillance.c b/hw/fsp/fsp-surveillance.c index a8118894..ebe19d63 100644 --- a/hw/fsp/fsp-surveillance.c +++ b/hw/fsp/fsp-surveillance.c @@ -19,7 +19,7 @@ #include <processor.h> #include <timebase.h> #include <fsp-sysparam.h> -#include <fsp-elog.h> +#include <errorlog.h> static bool fsp_surv_state = false; static bool fsp_surv_ack_pending = false; diff --git a/hw/fsp/fsp.c b/hw/fsp/fsp.c index 57c068bb..ba2f01b3 100644 --- a/hw/fsp/fsp.c +++ b/hw/fsp/fsp.c @@ -34,7 +34,7 @@ #include <trace.h> #include <timebase.h> #include <cpu.h> -#include <fsp-elog.h> +#include <errorlog.h> #include <opal.h> #include <opal-msg.h> |