timer.c (e269f90f3d3f7c70cf661c660bf445597261f54a) timer.c (08f3098928c991560408e8c71d4af8b1a3ff2d67)
1/*
2 * linux/arch/arm/mach-omap2/timer.c
3 *
4 * OMAP2 GP timer support.
5 *
6 * Copyright (C) 2009 Nokia Corporation
7 *
8 * Update to use new clocksource/clockevent layers

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

363#ifdef CONFIG_ARCH_OMAP3
364OMAP_SYS_TIMER_INIT(3, 1, OMAP3_CLKEV_SOURCE, 2, OMAP3_MPU_SOURCE)
365OMAP_SYS_TIMER(3)
366OMAP_SYS_TIMER_INIT(3_secure, OMAP3_SECURE_TIMER, OMAP3_CLKEV_SOURCE,
367 2, OMAP3_MPU_SOURCE)
368OMAP_SYS_TIMER(3_secure)
369#endif
370
1/*
2 * linux/arch/arm/mach-omap2/timer.c
3 *
4 * OMAP2 GP timer support.
5 *
6 * Copyright (C) 2009 Nokia Corporation
7 *
8 * Update to use new clocksource/clockevent layers

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

363#ifdef CONFIG_ARCH_OMAP3
364OMAP_SYS_TIMER_INIT(3, 1, OMAP3_CLKEV_SOURCE, 2, OMAP3_MPU_SOURCE)
365OMAP_SYS_TIMER(3)
366OMAP_SYS_TIMER_INIT(3_secure, OMAP3_SECURE_TIMER, OMAP3_CLKEV_SOURCE,
367 2, OMAP3_MPU_SOURCE)
368OMAP_SYS_TIMER(3_secure)
369#endif
370
371#ifdef CONFIG_SOC_AM33XX
372OMAP_SYS_TIMER_INIT(3_am33xx, 1, OMAP4_MPU_SOURCE, 2, OMAP4_MPU_SOURCE)
373OMAP_SYS_TIMER(3_am33xx)
374#endif
375
371#ifdef CONFIG_ARCH_OMAP4
372#ifdef CONFIG_LOCAL_TIMERS
373static DEFINE_TWD_LOCAL_TIMER(twd_local_timer,
374 OMAP44XX_LOCAL_TWD_BASE,
375 OMAP44XX_IRQ_LOCALTIMER);
376#endif
377
378static void __init omap4_timer_init(void)

--- 195 unchanged lines hidden ---
376#ifdef CONFIG_ARCH_OMAP4
377#ifdef CONFIG_LOCAL_TIMERS
378static DEFINE_TWD_LOCAL_TIMER(twd_local_timer,
379 OMAP44XX_LOCAL_TWD_BASE,
380 OMAP44XX_IRQ_LOCALTIMER);
381#endif
382
383static void __init omap4_timer_init(void)

--- 195 unchanged lines hidden ---