summaryrefslogtreecommitdiff
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorDirk Behme <[email protected]>2008-03-26 09:53:29 +0100
committerJean-Christophe PLAGNIOL-VILLARD <[email protected]>2008-04-22 23:12:01 +0200
commit80c40b765b3642ddb9f3392b7898715aab44a29c (patch)
treef5238b881170be5e46f2c6846593f72027edf898 /include/linux/string.h
parent58c5376ba67767ee684069d43e7f747a5d9ae8ed (diff)
ARM: Davinci: Fix DM644x timer overflow handling and cleanup
Fix ARM based DaVinci DM644x timer overflow handling and cleanup timer code. Changes: - Remove *_masked() functions as noted by Wolfgang - Adapt register naming to recent TI spec (sprue26, March 2007) - Fix reset_timer() handling - As reported by Pieter [1] the overflow fix introduced a delay of factor 16 (e.g 2 seconds became 32). While the overflow fix is basically okay, it missed to divide udelay by 16, too. Fix this. [1] http://article.gmane.org/gmane.comp.boot-loaders.u-boot/38179 - Remove software division of timer count value (DIV(x) macro) and do it in hardware (TIM_CLK_DIV). Many thanks to Troy Kisky <[email protected]> and Pieter Voorthuijsen <[email protected]> for the hints & testing! Patch is compile tested with davinci_dvevm & sonata & schmoogie configuration and tested by Pieter on DaVinci EVM hardware. Signed-off-by: Dirk Behme <[email protected]> Acked-by: Pieter Voorthuijsen <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions