mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-06 11:30:47 +09:00
501547cec1
The EHCI iMX6 driver is only partly converted to DT probing and still uses a tremendous amount of hard-coded addresses. Worse, the driver uses hard-coded SoC-model-specific base addresses, which are derived from values protected by SoC-specific macros, hence the driver is also compiled for a specific SoC model. Even worse, the driver depends on specific sequential indexing of the controllers, from which it derives offsets in the PHY and ANATOP register sets. However, when the driver is probed from DT, the indexing is not correct. In fact, each controller has index 0. This patch derives the index for DT probing case from the controller base addresses, which is not the way this should be done, however it is the least intrusive approach, favorable this close to release. The necessary steps to convert this driver fully to DT probing are described inside the patch, however this should be done in the next release and depends on iMX clock driver patches. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Abel Vesa <abel.vesa@nxp.com> Cc: Adam Ford <aford173@gmail.com> Cc: Fabio Estevam <festevam@gmail.com> Cc: Ludwig Zenz <lzenz@dh-electronics.com> Cc: Lukasz Majewski <lukma@denx.de> Cc: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Vagrant Cascadian <vagrant@debian.org> |
||
---|---|---|
.. | ||
dwc2.c | ||
dwc2.h | ||
dwc3-of-simple.c | ||
dwc3-sti-glue.c | ||
ehci-armada100.c | ||
ehci-atmel.c | ||
ehci-exynos.c | ||
ehci-faraday.c | ||
ehci-fsl.c | ||
ehci-generic.c | ||
ehci-hcd.c | ||
ehci-marvell.c | ||
ehci-msm.c | ||
ehci-mx5.c | ||
ehci-mx6.c | ||
ehci-mxc.c | ||
ehci-mxs.c | ||
ehci-omap.c | ||
ehci-pci.c | ||
ehci-rmobile.c | ||
ehci-spear.c | ||
ehci-tegra.c | ||
ehci-vct.c | ||
ehci-vf.c | ||
ehci-zynq.c | ||
ehci.h | ||
Kconfig | ||
Makefile | ||
ohci-at91.c | ||
ohci-da8xx.c | ||
ohci-ep93xx.c | ||
ohci-generic.c | ||
ohci-hcd.c | ||
ohci-lpc32xx.c | ||
ohci.h | ||
r8a66597-hcd.c | ||
r8a66597.h | ||
sl811-hcd.c | ||
sl811.h | ||
usb-sandbox.c | ||
usb-uclass.c | ||
utmi-armada100.c | ||
xhci-dwc3.c | ||
xhci-exynos5.c | ||
xhci-fsl.c | ||
xhci-mem.c | ||
xhci-mvebu.c | ||
xhci-omap.c | ||
xhci-pci.c | ||
xhci-rcar-r8a779x_usb3_v3.h | ||
xhci-rcar.c | ||
xhci-ring.c | ||
xhci-rockchip.c | ||
xhci-zynqmp.c | ||
xhci.c | ||
xhci.h |