[U-Boot] [PATCH 1/2] arm: change tbu/l type to unsigned int
Simon Glass
sjg at chromium.org
Mon Apr 24 03:38:19 UTC 2017
Hi Peng,
On 19 April 2017 at 19:10, Peng Fan <peng.fan at nxp.com> wrote:
> Change tbu/l type to unsigned int.
Why do this, please?
>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at konsulko.com>
> ---
> arch/arm/include/asm/global_data.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h
> index dfcbcce..92d9c97 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))
> --
> 2.6.6
>
Regards,
Simon
More information about the U-Boot
mailing list