diff options
author | Alistair Popple <alistair@popple.id.au> | 2014-10-20 11:42:55 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-10-22 18:00:19 +1100 |
commit | f84066fdeedffaac8a9113a4be1d8e17327eba64 (patch) | |
tree | ce16d88032d8cd5bfe7d825229c22598b3ceba20 /include/platform.h | |
parent | cf6f4e8912d29fb89ce85c84834607065ad595a5 (diff) | |
download | skiboot-f84066fdeedffaac8a9113a4be1d8e17327eba64.zip skiboot-f84066fdeedffaac8a9113a4be1d8e17327eba64.tar.gz skiboot-f84066fdeedffaac8a9113a4be1d8e17327eba64.tar.bz2 |
fsp/elog: Make the logging backend platform specific
OpenPOWER boxes don't have an FSP and therefore implement their own
method for passing log messages to a support processor. This patch
makes the logging method platform specific.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/platform.h')
-rw-r--r-- | include/platform.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h index 4a9d758..b916e5e 100644 --- a/include/platform.h +++ b/include/platform.h @@ -20,6 +20,7 @@ /* Some fwd declarations for types used further down */ struct phb; struct pci_device; +struct errorlog; /* * Each platform can provide a set of hooks @@ -116,6 +117,8 @@ struct platform { * seconds. */ uint32_t (*occ_timeout)(void); + + int (*elog_commit)(struct errorlog *buf); }; extern struct platform __platforms_start; |