On 3/21/24 3:45 PM, Mathieu Othacehe wrote:
Add USB support by enabling `usb` command and required USB drivers.
Signed-off-by: Mathieu Othacehe <othac...@gnu.org>
---
configs/imx93-phyboard-segin_defconfig | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/configs/imx93-phyboard-segin_defconfig
b/configs/imx93-phyboard-segin_defconfig
index 24f9bd553aa..0345e7deeab 100644
--- a/configs/imx93-phyboard-segin_defconfig
+++ b/configs/imx93-phyboard-segin_defconfig
@@ -67,6 +67,7 @@ CONFIG_CMD_GPIO=y
CONFIG_CMD_I2C=y
CONFIG_CMD_MMC=y
CONFIG_CMD_POWEROFF=y
+CONFIG_CMD_USB=y
CONFIG_CMD_SNTP=y
CONFIG_CMD_CACHE=y
CONFIG_CMD_EFIDEBUG=y
@@ -132,6 +133,13 @@ CONFIG_SPL_SYSRESET=y
CONFIG_SYSRESET_WATCHDOG=y
CONFIG_DM_THERMAL=y
CONFIG_IMX_TMU=y
+CONFIG_USB=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_MANUFACTURER="PHYTEC"
$ git grep -i usb.*phytec configs
configs/phycore_pcl063_defconfig:CONFIG_USB_GADGET_MANUFACTURER="Phytec"
configs/phycore_pcl063_ull_defconfig:CONFIG_USB_GADGET_MANUFACTURER="Phytec"
It would be good to be consistent.
Also, what is the vendor/product number those two boards use ?
Also, it would be good to fix the extra leading zero in those board
boards vendor number, this, in both configs:
CONFIG_USB_GADGET_VENDOR_NUM=0x01b67