[U-Boot] [PATCH 2/2] asm-generic: global_data: change timebase_l/h to unsigned int

Peng Fan peng.fan at nxp.com
Thu Apr 20 01:10:31 UTC 2017


Change type of timebase_l/h to unsigned int.

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

Buildman shows the following build failure, but not related this patch.
 aarch64:  +   orangepi_pc2
 x86:  +   qemu-x86_64 qemu-x86_efi_payload64 chromebook_link64

 include/asm-generic/global_data.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index 1a77c98..51838b5 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -83,8 +83,8 @@ typedef struct global_data {
 #ifdef CONFIG_SYS_I2C_MXC
 	void *srdata[10];
 #endif
-	unsigned long timebase_h;
-	unsigned long timebase_l;
+	unsigned int timebase_h;
+	unsigned int timebase_l;
 #ifdef CONFIG_SYS_MALLOC_F_LEN
 	unsigned long malloc_base;	/* base address of early malloc() */
 	unsigned long malloc_limit;	/* limit address */
-- 
2.6.6



More information about the U-Boot mailing list