]> git.dujemihanovic.xyz Git - u-boot.git/commit
asm-generic: global_data: change timebase_l/h to unsigned int
authorPeng Fan <peng.fan@nxp.com>
Tue, 9 May 2017 02:32:03 +0000 (10:32 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 12 May 2017 12:37:35 +0000 (08:37 -0400)
commit25112101d0af42cfc1ddf330d78757082965557a
treec7aea8afb821a7772f40dec54d35f6d5e6ce80d6
parent8fbbb6c27f8a3927b50bc8cd00fd288194ef83fc
asm-generic: global_data: change timebase_l/h to unsigned int

Change type of timebase_l/h to unsigned int.
>From lib/time.c: ((uint64_t)gd->timebase_h << 32) | gd->timebase_l;
This piece code is based on that timebase_h and timebase_l are
32bits width, so change the type to unsigned int.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Eddie Cai <eddie.cai.linux@gmail.com>
Cc: Jagan Teki <jteki@openedev.com>
Cc: York Sun <york.sun@nxp.com>
Cc: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/asm-generic/global_data.h