The ocotp driver provides access to registers containing chip configuration
data that is needed by other drivers, so make it an EARLY_DRIVER_MODULE() that loads before just about anything else.
This commit is contained in:
parent
2c4a847864
commit
866180c3fc
@ -200,5 +200,6 @@ static driver_t ocotp_driver = {
|
||||
|
||||
static devclass_t ocotp_devclass;
|
||||
|
||||
DRIVER_MODULE(ocotp, simplebus, ocotp_driver, ocotp_devclass, 0, 0);
|
||||
EARLY_DRIVER_MODULE(ocotp, simplebus, ocotp_driver, ocotp_devclass, 0, 0,
|
||||
BUS_PASS_CPU + BUS_PASS_ORDER_FIRST);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user