]> git.ipfire.org Git - people/ms/u-boot.git/commit
AT91 clock/timer: move static data to global_data struct
authorReinhard Meyer <u-boot@emk-elektronik.de>
Tue, 5 Oct 2010 14:54:35 +0000 (16:54 +0200)
committerReinhard Meyer <u-boot@emk-elektronik.de>
Tue, 19 Oct 2010 13:12:29 +0000 (15:12 +0200)
commit5dca710a3d7703e41da0e9894f2d71f9e25bea6b
tree0a0dd7439012b2890bee1501eb183d63f4ca2042
parent3b83522bcf99bb4cdf1b792f391e3b93b6ed5ce5
AT91 clock/timer: move static data to global_data struct

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@emk-elektronik.de>
arch/arm/cpu/arm926ejs/at91/clock.c
arch/arm/cpu/arm926ejs/at91/timer.c
arch/arm/include/asm/global_data.h