[ARM] MXC: rework timer/clock initialisation
- rename mxc_clocks_init to architecture specific versions. This allows us to have more than one architecture compiled in. - call mxc_timer_init from clock initialisation instead from board code Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
@@ -118,8 +118,7 @@ static void __init mx1ads_init(void)
|
||||
|
||||
static void __init mx1ads_timer_init(void)
|
||||
{
|
||||
mxc_clocks_init(32000);
|
||||
mxc_timer_init("gpt_clk");
|
||||
mx1_clocks_init(32000);
|
||||
}
|
||||
|
||||
struct sys_timer mx1ads_timer = {
|
||||
|
Reference in New Issue
Block a user