U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peng Fan <peng.fan@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] asm-generic: global_data: change timebase_l/h to unsigned int
Date: Thu, 20 Apr 2017 09:10:31 +0800	[thread overview]
Message-ID: <1492650631-15510-2-git-send-email-peng.fan@nxp.com> (raw)
In-Reply-To: <1492650631-15510-1-git-send-email-peng.fan@nxp.com>

Change type of timebase_l/h to unsigned int.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Simon Glass <sjg@chromium.org>
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>
---

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

  reply	other threads:[~2017-04-20  1:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-20  1:10 [U-Boot] [PATCH 1/2] arm: change tbu/l type to unsigned int Peng Fan
2017-04-20  1:10 ` Peng Fan [this message]
2017-04-24  3:38   ` [U-Boot] [PATCH 2/2] asm-generic: global_data: change timebase_l/h " Simon Glass
2017-04-25 20:51     ` Peng Fan
2017-05-02 11:27       ` Simon Glass
2017-04-24  3:38 ` [U-Boot] [PATCH 1/2] arm: change tbu/l type " Simon Glass
2017-05-08  9:58 ` Peng Fan
2017-05-08 13:47   ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1492650631-15510-2-git-send-email-peng.fan@nxp.com \
    --to=peng.fan@nxp.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox