iMX8MM USB support?
Fabio Estevam
festevam at gmail.com
Fri Jul 2 03:13:58 CEST 2021
On Thu, Jul 1, 2021 at 9:49 PM Tim Harvey <tharvey at gateworks.com> wrote:
> By the way, I took a quick stab at enabling SDP on
> imx8mm-venice-gw73xx-0x and found compile issues so I configured for
> an imx8mm_evk using your diffs and hit the same issues.
>
> drivers/usb/host/ehci-mx6.c: In function ‘ehci_hcd_init’:
> drivers/usb/host/ehci-mx6.c:360:46: error: ‘USB_BASE_ADDR’ undeclared
Ah, now that I try to enable SDP I see these errors too. To fix this
error we need:
https://git.kontron-electronics.de/linux/u-boot/-/commit/975e36c71164483a7c690e81126f77f6de482378.patch
This one is also needed:
https://git.kontron-electronics.de/linux/u-boot/-/commit/344c83522650ef8d8ea6c12c6a8209e54f0f31e6.patch
> (first use in this function); did you mean ‘SRC_BASE_ADDR’?
> struct usb_ehci *ehci = (struct usb_ehci *)(USB_BASE_ADDR +
> ^~~~~~~~~~~~~
> SRC_BASE_ADDR
> drivers/usb/host/ehci-mx6.c:360:46: note: each undeclared identifier
> is reported only once for each function it appears in
> drivers/usb/host/ehci-mx6.c:361:4: error: ‘controller_spacing’
I need to check on this one.
Thanks
More information about the U-Boot
mailing list