[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:
@@ -181,8 +181,7 @@ void __init pcm037_map_io(void)
|
||||
|
||||
static void __init pcm037_timer_init(void)
|
||||
{
|
||||
mxc_clocks_init(26000000);
|
||||
mxc_timer_init("ipg_clk.0");
|
||||
mx31_clocks_init(26000000);
|
||||
}
|
||||
|
||||
struct sys_timer pcm037_timer = {
|
||||
|
Reference in New Issue
Block a user