board: colibri_imx7: fix usb start on solo
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Wed, 13 Apr 2022 09:33:33 +0000 (11:33 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 21 Apr 2022 10:44:23 +0000 (12:44 +0200)
commit4625ff6521694513a46cef6058cac1ea49e9dfcb
tree34eade7f3de30a45fdb1f22fd2b77ae2106eca5f
parentdbc5633963d0739682efa6eef9341775b70e3fda
board: colibri_imx7: fix usb start on solo

This fixes the following crash when run on a Colibri iMX7S aka solo:

Colibri iMX7 # usb start
starting USB...
Bus usb@30b10000: USB EHCI 1.00
Bus usb@30b20000:

The i.MX 7Solo has only one single USB OTG1 but no USB host port. Trying
to initialize the nonexisting port just crashes.

While at it also drop board_usb_phy_mode() which is also no longer used
in the driver model age.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
board/toradex/colibri_imx7/colibri_imx7.c
configs/colibri_imx7_defconfig