25 Apr, 2008

19 commits


24 Apr, 2008

9 commits


23 Apr, 2008

1 commit

  • 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 and Pieter Voorthuijsen 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
    Acked-by: Pieter Voorthuijsen

    Dirk Behme
     

22 Apr, 2008

11 commits