discover/platform: rename finalise_config hook
[petitboot] / discover / platform.c
index 7275a5f0982f4d89143b5f3b4acf63aad3801b57..04798ac8a4912e12e1f81a601f4eaaae8b1012c5 100644 (file)
@@ -180,12 +180,12 @@ const struct platform *platform_get(void)
        return platform;
 }
 
-void platform_finalise_config(void)
+void platform_pre_boot(void)
 {
        const struct config *config = config_get();
 
-       if (platform && config && platform->finalise_config)
-               platform->finalise_config(platform, config);
+       if (platform && config && platform->pre_boot)
+               platform->pre_boot(platform, config);
 }
 
 int platform_get_sysinfo(struct system_info *info)