summaryrefslogtreecommitdiffstats
path: root/discover/platform.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2015-01-27 14:38:55 +0800
committerJeremy Kerr <jk@ozlabs.org>2015-02-16 10:24:22 +0800
commit900412ec49f30fbb7872a5ff38538a19c17e20a2 (patch)
tree20ffbb839848c5002541f620633f7a22be6b19be /discover/platform.h
parent2e05b1dd0490ce7ecdd15f522e6c700bc6522062 (diff)
downloadtalos-petitboot-900412ec49f30fbb7872a5ff38538a19c17e20a2.tar.gz
talos-petitboot-900412ec49f30fbb7872a5ff38538a19c17e20a2.zip
discover/platform: rename finalise_config hook
We want to expand the finalise_config hook to cover generic pre-boot functionality, so rename to pre_boot. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/platform.h')
-rw-r--r--discover/platform.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/discover/platform.h b/discover/platform.h
index ab1bd88..5aa8e3f 100644
--- a/discover/platform.h
+++ b/discover/platform.h
@@ -8,7 +8,7 @@ struct platform {
bool (*probe)(struct platform *, void *);
int (*load_config)(struct platform *, struct config *);
int (*save_config)(struct platform *, struct config *);
- void (*finalise_config)(struct platform *,
+ void (*pre_boot)(struct platform *,
const struct config *);
int (*get_sysinfo)(struct platform *, struct system_info *);
uint16_t dhcp_arch_id;
@@ -19,7 +19,7 @@ int platform_init(void *ctx);
int platform_fini(void);
const struct platform *platform_get(void);
int platform_get_sysinfo(struct system_info *info);
-void platform_finalise_config(void);
+void platform_pre_boot(void);
/* configuration interface */
const struct config *config_get(void);
OpenPOWER on IntegriCloud