From: Vladimir Boroda Date: Thu, 26 Oct 2017 20:20:21 -0400 Subject: [U-Boot] [RESEND] drivers/usb/ehci: Use platform-specific accessors 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 This patch should have been rejected. It no longer breaks the build, but it break the functionality on big-endian systems. The readl() and writel() macros already do the endian conversion assuming the port is in little-endian format. So after this patch the EHCI registers are now read incorrectly, at least on PPC. You should remove the le32_to_cpu() macros if using the readl() and writel() accessors.