android_kernel_motorola_sm6225/arch/arm/plat-omap
Igor Grinberg 6f80b3bb8a ARM: OMAP2+: timer: remove CONFIG_OMAP_32K_TIMER
CONFIG_OMAP_32K_TIMER is kind of standing on the single zImage way.
Make OMAP2+ timer code independant from the CONFIG_OMAP_32K_TIMER
setting.
To remove the dependancy, several conversions/additions had to be done:
1) Timer initialization functions are named by the platform
   name and the clock source in use.
   This also makes it possible to define and use the GPTIMER as the
   clock source instead of the 32K timer on platforms that do not have
   the 32K timer ip block or the 32K timer is not wired on the board.
   Currently, the the timer is chosen in the machine_desc structure on
   per board basis. Later, DT should be used to choose the timer.
2) Settings under the CONFIG_OMAP_32K_TIMER option are used as defaults
   and those under !CONFIG_OMAP_32K_TIMER are removed.
   This removes the CONFIG_OMAP_32K_TIMER on OMAP2+ timer code.
3) Since we have all the timers defined inside machine_desc structure
   and we no longer need the fallback to gp_timer clock source in case
   32k_timer clock source is unavailable (namely on AM33xx), we no
   longer need the #ifdef around omap2_sync32k_clocksource_init()
   function. Remove the #ifdef CONFIG_OMAP_32K_TIMER around the
   omap2_sync32k_clocksource_init() function.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Cc: Jon Hunter <jon-hunter@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Vaibhav Hiremath <hvaibhav@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Jon Hunter <jon-hunter@ti.com>
2012-11-21 10:15:59 -08:00
..
include ARM: OMAP: Add platform data header for DMTIMERs 2012-11-16 10:35:08 -06:00
counter_32k.c ARM: OMAP: Remove plat-omap/common.h 2012-10-31 15:37:13 -07:00
debug-devices.c ARM: OMAP: Remove unnecessary mach and plat includes 2012-11-02 12:00:36 -07:00
debug-leds.c ARM: OMAP: Fix relative includes for fpga.h 2012-10-31 15:37:14 -07:00
dma.c ARM: OMAP: Remove cpu_is_omap usage from plat-omap/dma.c 2012-10-31 15:37:13 -07:00
dmtimer.c ARM: OMAP: Add platform data header for DMTIMERs 2012-11-16 10:35:08 -06:00
fb.c ARM: OMAP: Remove unnecessary mach and plat includes 2012-11-02 12:00:36 -07:00
i2c.c ARM: OMAP: Remove unnecessary mach and plat includes 2012-11-02 12:00:36 -07:00
Kconfig ARM: OMAP2+: timer: remove CONFIG_OMAP_32K_TIMER 2012-11-21 10:15:59 -08:00
mailbox.c workqueue: deprecate flush[_delayed]_work_sync() 2012-08-20 14:51:24 -07:00
Makefile ARM: OMAP: Remove omap_init_consistent_dma_size() 2012-11-06 16:01:19 -08:00
sram.c ARM: OMAP: Move omap2+ specific parts of sram.c to mach-omap2 2012-10-31 10:14:14 -07:00