[U-Boot] [PATCH] AT91 clock/timer: move static data to global_data struct
Reinhard Meyer
u-boot at emk-elektronik.de
Tue Oct 19 15:55:12 CEST 2010
Reinhard Meyer schrieb:
> clock.c / 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.
>
> Signed-off-by: Reinhard Meyer <u-boot at emk-elektronik.de>
> ---
> arch/arm/cpu/arm926ejs/at91/clock.c | 55 +++++++++++-----------
> arch/arm/cpu/arm926ejs/at91/timer.c | 85 +++++++++++++++++------------------
> arch/arm/include/asm/global_data.h | 14 ++++++
> 3 files changed, 83 insertions(+), 71 deletions(-)
Applied to u-boot-atmel.git/at91.
Thanks,
Reinhard
More information about the U-Boot
mailing list