generic.c (a02001086bbfb4da35d1228bebc2f1b442db455f) | generic.c (5e1d01285140a8cd90676ba15c06c8ec700fd618) |
---|---|
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. --- 49 unchanged lines hidden (view full) --- 58} 59EXPORT_SYMBOL(get_clock_tick_rate); 60 61/* 62 * For non device-tree builds, keep legacy timer init 63 */ 64void __init pxa_timer_init(void) 65{ | 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. --- 49 unchanged lines hidden (view full) --- 58} 59EXPORT_SYMBOL(get_clock_tick_rate); 60 61/* 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(); |
|
66 pxa_timer_nodt_init(IRQ_OST0, io_p2v(0x40a00000), 67 get_clock_tick_rate()); 68} 69 70/* 71 * Get the clock frequency as reflected by CCCR and the turbo flag. 72 * We assume these values have been applied via a fcs. 73 * If info is not 0 we also display the current settings. --- 31 unchanged lines hidden --- | 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 --- |