9
0
Fork 0

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:
Uwe Kleine-König 2015-04-21 11:53:21 +02:00 committed by Jan Luebbe
parent 51f97717c8
commit b0a31f0e22
1 changed files with 1 additions and 1 deletions

View File

@ -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);