ARM: ux500: Don't attempt to enable the Nomadik System Timer twice
When booting with DT enabled we already call clocksource_of_init(), which in turn calls the OF version of nmdk_timer_init(). Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
@@ -97,8 +97,8 @@ dt_fail:
|
|||||||
* sched_clock with higher rating then MTU since is always-on.
|
* sched_clock with higher rating then MTU since is always-on.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
if (!of_have_populated_dt())
|
||||||
nmdk_timer_init(mtu_timer_base, IRQ_MTU0);
|
nmdk_timer_init(mtu_timer_base, IRQ_MTU0);
|
||||||
clksrc_dbx500_prcmu_init(prcmu_timer_base);
|
clksrc_dbx500_prcmu_init(prcmu_timer_base);
|
||||||
ux500_twd_init();
|
ux500_twd_init();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user