u-boot/cpu
Dirk Behme 80c40b765b 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 <troy.kisky@boundarydevices.com> and Pieter Voorthuijsen <pieter.voorthuijsen@Prodrive.nl> 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 <dirk.behme@gmail.com>
Acked-by: Pieter Voorthuijsen <pieter.voorthuijsen@Prodrive.nl>
2008-04-22 23:12:01 +02:00
..
74xx_7xx PPC: Use r2 instead of r29 as global data pointer 2008-02-14 22:43:22 +01:00
arm720t ARM: cleanup duplicated exception handlingcode 2008-02-14 09:38:21 +00:00
arm920t Fix regression introduced by a typo in "Tidied other cpu/arm920t/start.S code" 2008-04-17 23:33:20 -07:00
arm925t ARM: cleanup duplicated exception handlingcode 2008-02-14 09:38:21 +00:00
arm926ejs ARM: Davinci: Fix DM644x timer overflow handling and cleanup 2008-04-22 23:12:01 +02:00
arm946es ARM: cleanup duplicated exception handlingcode 2008-02-14 09:38:21 +00:00
arm1136 core support for Freescale mx31 2008-04-13 14:20:47 -07:00
arm_intcm ARM: cleanup duplicated exception handlingcode 2008-02-14 09:38:21 +00:00
at32ap AVR32: Make SDRAM refresh rate configurable 2008-02-05 12:14:27 +01:00
blackfin Blackfin: unify cpu and boot modes 2008-03-30 15:50:19 -04:00
i386 cpu/ rtc/ include/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 10:27:39 -05:00
ixp ARM: cleanup duplicated exception handlingcode 2008-02-14 09:38:21 +00:00
leon2 Coding Style cleanup; update CHANGELOG 2008-04-13 09:59:26 -07:00
leon3 Coding Style cleanup; update CHANGELOG 2008-04-13 09:59:26 -07:00
lh7a40x ARM: cleanup duplicated exception handlingcode 2008-02-14 09:38:21 +00:00
mcf52x2 Coding Style cleanup; update CHANGELOG 2008-04-13 09:59:26 -07:00
mcf523x ColdFire: Fix alignment issue after CONFIG_IDENT_STRING in start.S 2008-03-31 15:10:32 -06:00
mcf532x ColdFire: Fix alignment issue after CONFIG_IDENT_STRING in start.S 2008-03-31 15:10:32 -06:00
mcf547x_8x ColdFire: Fix alignment issue after CONFIG_IDENT_STRING in start.S 2008-03-31 15:10:32 -06:00
mcf5227x ColdFire: Fix alignment issue after CONFIG_IDENT_STRING in start.S 2008-03-31 15:10:32 -06:00
mcf5445x ColdFire: Fix alignment issue after CONFIG_IDENT_STRING in start.S 2008-03-31 15:10:32 -06:00
microblaze [PATCH] Add support for design without interrupt controller 2007-09-24 00:21:19 +02:00
mips Use jr as register jump instruction 2008-04-18 00:47:29 -07:00
mpc5xx Remove all the search paths from the .lds files. 2008-04-17 23:57:32 -07:00
mpc5xxx Remove all the search paths from the .lds files. 2008-04-17 23:57:32 -07:00
mpc8xx MPC8xx: Fix libfdt support introduced in commit 77ff7b74 2008-04-02 11:07:20 -04:00
mpc83xx mpc83xx: Update DIMM data bus width test to support 40-bit width 2008-04-11 17:46:18 -05:00
mpc85xx 85xx: Fix detection of MP cpu spin up 2008-04-11 17:32:56 -05:00
mpc86xx Update SVR numbers to expand support 2008-03-26 11:43:04 -05:00
mpc512x MPC5121e ADS PCI support take 3 2008-03-02 21:44:59 +01:00
mpc824x Remove all the search paths from the .lds files. 2008-04-17 23:57:32 -07:00
mpc8220 Remove all the search paths from the .lds files. 2008-04-17 23:57:32 -07:00
mpc8260 Remove all the search paths from the .lds files. 2008-04-17 23:57:32 -07:00
nios Minor alignment of output, 2nd try. 2007-08-12 21:34:34 +02:00
nios2 cpu/[7a-ln-z]*: Remove obsolete references to CONFIG_COMMANDS 2007-07-09 18:57:22 -05:00
ppc4xx ppc4xx: Add dcache_enable() for 440 2008-04-22 12:26:33 +02:00
pxa pxa: fix assignment from incompatible pointer type 2008-02-17 16:03:56 +01:00
s3c44b0 LWMON5: POST RTC fix 2008-03-20 21:48:46 +01:00
sa1100 ARM: cleanup duplicated exception handlingcode 2008-02-14 09:38:21 +00:00
sh3 sh: Add support SH3 and SH7720 2008-01-15 23:30:40 +09:00
sh4 sh: Add support SH4 cache control 2008-03-28 14:16:13 +09:00