aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlistair Popple <alistair@popple.id.au>2014-10-20 11:42:55 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2014-10-22 18:00:19 +1100
commitf84066fdeedffaac8a9113a4be1d8e17327eba64 (patch)
treece16d88032d8cd5bfe7d825229c22598b3ceba20 /include
parentcf6f4e8912d29fb89ce85c84834607065ad595a5 (diff)
downloadskiboot-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')
-rw-r--r--include/platform.h3
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;