[U-Boot] [RESEND] drivers/usb/ehci: Use platform-specific accessors
Vladimir Boroda
boroda at yahoo.com
Fri Oct 27 00:20:21 UTC 2017
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.
More information about the U-Boot
mailing list