bootstate: probe bootstate later
state must be loaded after the nand driver, otherwise it fails because the backend is missing. For similar reasons bootstate must come after state. Move them to the late stage until barebox can do deferred probing. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
parent
6a11cd1539
commit
25ce695b54
|
@ -65,4 +65,4 @@ static struct driver_d bootstate_driver = {
|
|||
.probe = bootstate_probe,
|
||||
.of_compatible = DRV_OF_COMPAT(bootstate_ids),
|
||||
};
|
||||
device_platform_driver(bootstate_driver);
|
||||
register_driver_macro(late,platform,bootstate_driver);
|
||||
|
|
Loading…
Reference in New Issue