Some device tree configurations place the generic timer under the root
of the tree and not under simplebus. Update the driver to handle this. Submitted by: Julien Grall <julien.grall AT linaro.org> MFC after: 1 week
This commit is contained in:
parent
56f0c37e9f
commit
15eb3a7427
@ -353,6 +353,8 @@ static devclass_t arm_tmr_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(timer, simplebus, arm_tmr_driver, arm_tmr_devclass, 0, 0,
|
||||
BUS_PASS_TIMER + BUS_PASS_ORDER_MIDDLE);
|
||||
EARLY_DRIVER_MODULE(timer, ofwbus, arm_tmr_driver, arm_tmr_devclass, 0, 0,
|
||||
BUS_PASS_TIMER + BUS_PASS_ORDER_MIDDLE);
|
||||
|
||||
void
|
||||
DELAY(int usec)
|
||||
|
Loading…
x
Reference in New Issue
Block a user