generic.c (5e1d01285140a8cd90676ba15c06c8ec700fd618) generic.c (a1c0a6adbc705a9a760416796ce9cb3349fd476f)
1/*
2 * linux/arch/arm/mach-pxa/generic.c
3 *
4 * Author: Nicolas Pitre
5 * Created: Jun 15, 2001
6 * Copyright: MontaVista Software Inc.
7 *
8 * Code common to all PXA machines.

--- 53 unchanged lines hidden (view full) ---

62 * For non device-tree builds, keep legacy timer init
63 */
64void __init pxa_timer_init(void)
65{
66 if (cpu_is_pxa25x())
67 pxa25x_clocks_init();
68 if (cpu_is_pxa27x())
69 pxa27x_clocks_init();
1/*
2 * linux/arch/arm/mach-pxa/generic.c
3 *
4 * Author: Nicolas Pitre
5 * Created: Jun 15, 2001
6 * Copyright: MontaVista Software Inc.
7 *
8 * Code common to all PXA machines.

--- 53 unchanged lines hidden (view full) ---

62 * For non device-tree builds, keep legacy timer init
63 */
64void __init pxa_timer_init(void)
65{
66 if (cpu_is_pxa25x())
67 pxa25x_clocks_init();
68 if (cpu_is_pxa27x())
69 pxa27x_clocks_init();
70 if (cpu_is_pxa3xx())
71 pxa3xx_clocks_init();
70 pxa_timer_nodt_init(IRQ_OST0, io_p2v(0x40a00000),
71 get_clock_tick_rate());
72}
73
74/*
75 * Get the clock frequency as reflected by CCCR and the turbo flag.
76 * We assume these values have been applied via a fcs.
77 * If info is not 0 we also display the current settings.

--- 31 unchanged lines hidden ---
72 pxa_timer_nodt_init(IRQ_OST0, io_p2v(0x40a00000),
73 get_clock_tick_rate());
74}
75
76/*
77 * Get the clock frequency as reflected by CCCR and the turbo flag.
78 * We assume these values have been applied via a fcs.
79 * If info is not 0 we also display the current settings.

--- 31 unchanged lines hidden ---