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

From: Greg Kroah-Hartman
Date: Tue Jan 08 2019 - 10:45:29 EST


On Tue, Jan 08, 2019 at 06:04:26AM +0000, 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 workable on both
> powerpc and arm.

Shouldn't you have this patch before the Kconfig change, so that you do
not break the build on ARM systems on that one and then fix it up on
this one?

thanks,

greg k-h