discover/platform: rename finalise_config hook
[petitboot] / discover / device-handler.c
index fd6f1d3091618f64e1a309817b7c2e28923c0b38..5d9f98892eb792db789de351fb750bb95cd0e3f9 100644 (file)
@@ -843,7 +843,7 @@ void device_handler_boot(struct device_handler *handler,
        if (handler->pending_boot)
                boot_cancel(handler->pending_boot);
 
        if (handler->pending_boot)
                boot_cancel(handler->pending_boot);
 
-       platform_finalise_config();
+       platform_pre_boot();
 
        handler->pending_boot = boot(handler, opt, cmd, handler->dry_run,
                        boot_status, handler);
 
        handler->pending_boot = boot(handler, opt, cmd, handler->dry_run,
                        boot_status, handler);