RE: [PATCH v2 1/3] usb: ehci: fsl: Update register accessing for arm/arm64 platforms

2019-01-18 Thread Alan Stern
On Fri, 18 Jan 2019, Ran Wang wrote: > Hi Alan, > > On January 18, 2019 00:08, Alan Stern wrote: > > > > On Thu, 17 Jan 2019, Ran Wang wrote: > > > > > arm/arm64's io.h doesn't define clrbits32() and clrsetbits_be32(), > > > which causing compile failure on some Layerscape Platforms (such as >

RE: [PATCH v2 1/3] usb: ehci: fsl: Update register accessing for arm/arm64 platforms

2019-01-17 Thread Ran Wang
Hi Alan, On January 18, 2019 00:08, Alan Stern wrote: > > On Thu, 17 Jan 2019, Ran Wang wrote: > > > arm/arm64's io.h doesn't define clrbits32() and clrsetbits_be32(), > > which causing compile failure on some Layerscape Platforms (such as > > LS1021A and LS2012A which also integrates FSL EHCI c

Re: [PATCH v2 1/3] usb: ehci: fsl: Update register accessing for arm/arm64 platforms

2019-01-17 Thread Alan Stern
On Thu, 17 Jan 2019, Ran Wang wrote: > arm/arm64's io.h doesn't define clrbits32() and clrsetbits_be32(), which > causing compile failure on some Layerscape Platforms (such as LS1021A and > LS2012A which also integrates FSL EHCI controller). So use > ioread32be()/iowrite32be() instead to make it w

[PATCH v2 1/3] usb: ehci: fsl: Update register accessing for arm/arm64 platforms

2019-01-17 Thread Ran Wang
arm/arm64's io.h doesn't define clrbits32() and clrsetbits_be32(), which causing compile failure on some Layerscape Platforms (such as LS1021A and LS2012A which also integrates FSL EHCI controller). So use ioread32be()/iowrite32be() instead to make it workable on both powerpc and arm. Signed-off-b