summaryrefslogtreecommitdiffstats
path: root/discover/platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/platform.c')
-rw-r--r--discover/platform.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/discover/platform.c b/discover/platform.c
index 0dced16..65e9ed4 100644
--- a/discover/platform.c
+++ b/discover/platform.c
@@ -143,6 +143,13 @@ const struct platform *platform_get(void)
return platform;
}
+int platform_get_sysinfo(struct system_info *info)
+{
+ if (platform && platform->get_sysinfo)
+ return platform->get_sysinfo(platform, info);
+ return -1;
+}
+
int config_set(struct config *newconfig)
{
int rc;
OpenPOWER on IntegriCloud