summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2017-05-09 02:32:02 (GMT)
committerTom Rini <trini@konsulko.com>2017-05-12 12:37:34 (GMT)
commit8fbbb6c27f8a3927b50bc8cd00fd288194ef83fc (patch)
tree791b380a619c617f74d8cea31484f0e76e7f3655 /arch/arm
parentb411f2af49117171a6f5d696f08a01b2f4a35c3b (diff)
downloadu-boot-fsl-qoriq-8fbbb6c27f8a3927b50bc8cd00fd288194ef83fc.tar.xz
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/asm/global_data.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h
index 1aab629..3cc0e5f 100644
--- a/arch/arm/include/asm/global_data.h
+++ b/arch/arm/include/asm/global_data.h
@@ -32,8 +32,8 @@ struct arch_global_data {
#endif
/* "static data" needed by most of timer.c on ARM platforms */
unsigned long timer_rate_hz;
- unsigned long tbu;
- unsigned long tbl;
+ unsigned int tbu;
+ unsigned int tbl;
unsigned long lastinc;
unsigned long long timer_reset_value;
#if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF))