The USB controller on T20 doesn't have the HOSTPC feature. As there is not define for the SoC type at this level we use the address of the first USB controller as match. Not very nice but it should do for now.
Signed-off-by: Alban Bedel <alban.be...@avionic-design.de> --- include/configs/tegra-common-usb-gadget.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/tegra-common-usb-gadget.h b/include/configs/tegra-common-usb-gadget.h index 287460c..894b531 100644 --- a/include/configs/tegra-common-usb-gadget.h +++ b/include/configs/tegra-common-usb-gadget.h @@ -13,7 +13,9 @@ #define CONFIG_USB_GADGET #define CONFIG_USB_GADGET_VBUS_DRAW 2 #define CONFIG_CI_UDC +#if TEGRA_USB1_BASE != 0xC5000000 #define CONFIG_CI_UDC_HAS_HOSTPC +#endif #define CONFIG_USB_GADGET_DUALSPEED #define CONFIG_G_DNL_VENDOR_NUM 0x0955 #define CONFIG_G_DNL_PRODUCT_NUM 0x701A -- 2.3.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot