
Dear Wolfgang,
On Mon, Dec 20, 2010 at 5:00 PM, Po-Yu Chuang ratbert.chuang@gmail.com wrote:
From: Po-Yu Chuang ratbert@faraday-tech.com
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.
Based on Reinhard Meyer u-boot@emk-elektronik.de's patch 5dca710a3d7703e41da0e9894f2d71f9e25bea6b
Signed-off-by: Po-Yu Chuang ratbert@faraday-tech.com
v2: rebase use gd->timer_rate_hz. remove unused global variable timestamp and lastdec. move register bases to local variables
arch/arm/cpu/arm920t/a320/timer.c | 147 ++++++++++++++----------------------- 1 files changed, 56 insertions(+), 91 deletions(-)
Would you please check this patch series? Or should I rebase and resubmit?
best regards, Po-Yu Chuang