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/xscom.c | |
parent | e9ba0c924d6eed70cef4e41695196705759e60e6 (diff) | |
download | skiboot-28a178751b4195e546e0e8d429f988793c18f848.zip skiboot-28a178751b4195e546e0e8d429f988793c18f848.tar.gz skiboot-28a178751b4195e546e0e8d429f988793c18f848.tar.bz2 |
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/xscom.c')
-rw-r--r-- | hw/xscom.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ #include <device.h> #include <chip.h> #include <centaur.h> -#include <fsp-elog.h> +#include <errorlog.h> /* Mask of bits to clear in HMER before an access */ #define HMER_CLR_MASK (~(SPR_HMER_XSCOM_FAIL | \ |