ARM: OMAP: Add DMTIMER definitions for posted mode
authorJon Hunter <jon-hunter@ti.com>
Thu, 27 Sep 2012 16:49:45 +0000 (11:49 -0500)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 14 Apr 2014 20:09:27 +0000 (23:09 +0300)
commit75f57e9f28a3d87deee044676dfb36b9e387b824
tree7573fe53f45cf1c45670664a9c9aa29b6a70f81f
parent5ebe7e9a971a83419a68e5c5876e90deb7384713
ARM: OMAP: Add DMTIMER definitions for posted mode

For OMAP2+ devices, when using DMTIMERs for system timers (clock-events and
clock-source) the posted mode configuration of the timers is used. To allow
the compiler to optimise the functions for configuring and reading the system
timers, the posted flag variable is hard-coded with the value 1. To make it
clear that posted mode is being used add some definitions so that it is more
readable.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Conflicts:

arch/arm/plat-omap/include/plat/dmtimer.h
arch/arm/mach-omap2/timer.c
arch/arm/plat-omap/include/plat/dmtimer.h