mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-05 18:56:15 +09:00
arm: change tbu/l type to unsigned int
Change tbu/l type to unsigned int. >From the timer file for arm, "(((unsigned long long)gd->arch.tbu) << 32) | gd->arch.tbl;" is used, This piece code is based on tbu/tbl is 32bits, so change the type to unsigned int. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
b411f2af49
commit
8fbbb6c27f
|
@ -32,8 +32,8 @@ struct arch_global_data {
|
||||||
#endif
|
#endif
|
||||||
/* "static data" needed by most of timer.c on ARM platforms */
|
/* "static data" needed by most of timer.c on ARM platforms */
|
||||||
unsigned long timer_rate_hz;
|
unsigned long timer_rate_hz;
|
||||||
unsigned long tbu;
|
unsigned int tbu;
|
||||||
unsigned long tbl;
|
unsigned int tbl;
|
||||||
unsigned long lastinc;
|
unsigned long lastinc;
|
||||||
unsigned long long timer_reset_value;
|
unsigned long long timer_reset_value;
|
||||||
#if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF))
|
#if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user