[U-Boot] [PATCH v2 1/2] arm: a320 timer: move static data to global_data struct

Po-Yu Chuang ratbert.chuang at gmail.com
Mon Jan 17 03:56:44 CET 2011


Dear Wolfgang,

On Mon, Dec 20, 2010 at 5:00 PM, Po-Yu Chuang <ratbert.chuang at gmail.com> wrote:
> From: Po-Yu Chuang <ratbert at 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 at emk-elektronik.de>'s patch
> 5dca710a3d7703e41da0e9894f2d71f9e25bea6b
>
> Signed-off-by: Po-Yu Chuang <ratbert at 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


More information about the U-Boot mailing list