From: Marcel Ziswiler Date: Wed, 28 Sep 2016 09:24:05 +0000 (+0200) Subject: tegra: usb gadget: fix ci udc operation if not hostpc capable X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=7e1784651b057136847259358a3383c148d6f374;p=u-boot.git tegra: usb gadget: fix ci udc operation if not hostpc capable The Tegra 2 aka T20 is not host PC capable. Therefore gate the define CONFIG_CI_UDC_HAS_HOSTPC in tegra-common-usb-gadget.h in case of CONFIG_TEGRA20. Signed-off-by: Marcel Ziswiler Acked-by: Stephen Warren Signed-off-by: Tom Warren --- diff --git a/include/configs/tegra-common-usb-gadget.h b/include/configs/tegra-common-usb-gadget.h index 00f854eb71..58a5a300f3 100644 --- a/include/configs/tegra-common-usb-gadget.h +++ b/include/configs/tegra-common-usb-gadget.h @@ -10,7 +10,9 @@ #ifndef CONFIG_SPL_BUILD /* USB gadget mode support*/ +#ifndef CONFIG_TEGRA20 #define CONFIG_CI_UDC_HAS_HOSTPC +#endif /* USB mass storage protocol */ #define CONFIG_USB_FUNCTION_MASS_STORAGE /* DFU protocol */