From: Reinhard Meyer Date: Tue, 19 Oct 2010 15:55:12 +0200 Subject: [U-Boot] [PATCH] AT91 clock/timer: move static data to global_data struct In-Reply-To: <1286290475-2989-1-git-send-email-u-boot@emk-elektronik.de> References: <1286290475-2989-1-git-send-email-u-boot@emk-elektronik.de> Message-ID: <4CBDA340.2080303@emk-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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