diff options
author | Po-Yu Chuang <ratbert@faraday-tech.com> | 2011-08-10 17:44:21 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-11-08 20:52:23 +0100 |
commit | 60d1ea94ead7327d46f0a38cf8d20663a508fe34 (patch) | |
tree | a17f1cdee4ad54c8912e60ec5e1396c2d83088f3 /board/armltd | |
parent | a3e09cc28c0abb48f76f9375bf4d1c6e0cae82fe (diff) | |
download | u-boot-imx-60d1ea94ead7327d46f0a38cf8d20663a508fe34.zip u-boot-imx-60d1ea94ead7327d46f0a38cf8d20663a508fe34.tar.gz u-boot-imx-60d1ea94ead7327d46f0a38cf8d20663a508fe34.tar.bz2 |
arm: a320: fix broken timer
timer.c used static data and are called before relocation.
Move all static variables into global_data structure. Also cleanup
timer.c from unused stubs and make it truly use 64 bit tick values.
Remove reset_timer_masked() get_timer_masked()
reference: arch/arm/cpu/arm926ejs/at91/timer.c
Based on Reinhard Meyer <u-boot@emk-elektronik.de>'s patches
5dca710a3d7703e41da0e9894f2d71f9e25bea6b
cfff263f41e32c7ba2ee9162a8cc6423eb5a8390
Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
Tested-by: Macpaul Lin <macpaul@gmail.com>
Diffstat (limited to 'board/armltd')
0 files changed, 0 insertions, 0 deletions