]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: ehci-mx6: Split ehci_mx6_common_init()
authorMarek Vasut <marex@denx.de>
Wed, 31 Mar 2021 19:40:24 +0000 (21:40 +0200)
committerMarek Vasut <marex@denx.de>
Sun, 18 Apr 2021 02:29:36 +0000 (04:29 +0200)
commitef464e4c362f154465dcd315e17c6601642117d1
treeda0f9d4de26e482c19e597fb0979c6ecf8101156
parent4dcfa3bcbcbc5e0f7da145fff41e120392433062
usb: ehci-mx6: Split ehci_mx6_common_init()

In order to pass component addresses around easily instead of passing
ad-hoc sequence numbers, it is necessary to split ehci_mx6_common_init().
Make it so and call the separate functions instead.

Since board_ehci_hcd_init() makes no sense in DM case, do not call it
in DM case.

Fixes: 4de51cc25b5 ("usb: ehci-mx6: Drop assignment of sequence number")
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Ye Li <ye.li@nxp.com>
Cc: uboot-imx <uboot-imx@nxp.com>
drivers/usb/host/ehci-mx6.c