Skip to content
Snippets Groups Projects
Commit f9de0997 authored by Prafulla Wadaskar's avatar Prafulla Wadaskar Committed by Wolfgang Denk
Browse files

ARM: make timer variables in gt_t available for all ARM platforms


All code that attemots to access variables in BSS before relocation
(for example directly or indirectly by board_init_f()) needs to be
fixed. Especially timer.c needs to fix on most of the ARM platforms.

This patch makes timer related variables in gd_t available for
all ARM implementations.

Signed-off-by: default avatarPrafulla Wadaskar <prafulla@marvell.com>

Edited commit message.
Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent b9c5081d
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,9 @@ typedef struct global_data {
unsigned long plla_rate_hz;
unsigned long pllb_rate_hz;
unsigned long at91_pllb_usb_init;
/* "static data" needed by at91's timer.c */
#endif
#ifdef CONFIG_ARM
/* "static data" needed by most of timer.c on ARM platforms */
unsigned long timer_rate_hz;
unsigned long tbl;
unsigned long tbu;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment