From: Marek Vasut Date: Wed, 16 Sep 2020 15:36:00 +0200 Subject: [PATCH 02/13] usb: ehci-mx6: preparing for ARM64 build In-Reply-To: <20200916125705.4341-3-peng.fan@nxp.com> References: <20200916125705.4341-1-peng.fan@nxp.com> <20200916125705.4341-3-peng.fan@nxp.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 9/16/20 2:56 PM, peng.fan at nxp.com wrote: > From: Peng Fan > > Use uintptr_t and ulong to avoid build warning for ARM64 platforms > > Signed-off-by: Peng Fan > --- > drivers/usb/host/ehci-mx6.c | 20 ++++++++++---------- > 1 file changed, 10 insertions(+), 10 deletions(-) > > diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c > index 9531fefce0..4b8b3087ec 100644 > --- a/drivers/usb/host/ehci-mx6.c > +++ b/drivers/usb/host/ehci-mx6.c > @@ -68,7 +68,7 @@ DECLARE_GLOBAL_DATA_PTR; > #define UCMD_RESET (1 << 1) /* controller reset */ > > #if defined(CONFIG_MX6) || defined(CONFIG_MX7ULP) > -static const unsigned phy_bases[] = { > +static const ulong phy_bases[] = { Use unsigned long please, not all libc headers define ulong (e.g. termux -- android + bionic libc -- then fails to build). [...]