diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2016-09-28 11:24:05 +0200 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2016-10-10 10:44:37 -0700 |
commit | 7e1784651b057136847259358a3383c148d6f374 (patch) | |
tree | f2785607c332f858c9d53e254047d3cbed83a1e7 /include/configs/tegra-common-usb-gadget.h | |
parent | f5fd45ff64e28a73499548358e3d1ceda0de7daf (diff) | |
download | u-boot-imx-7e1784651b057136847259358a3383c148d6f374.zip u-boot-imx-7e1784651b057136847259358a3383c148d6f374.tar.gz u-boot-imx-7e1784651b057136847259358a3383c148d6f374.tar.bz2 |
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 <marcel.ziswiler@toradex.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/configs/tegra-common-usb-gadget.h')
-rw-r--r-- | include/configs/tegra-common-usb-gadget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/tegra-common-usb-gadget.h b/include/configs/tegra-common-usb-gadget.h index 00f854e..58a5a30 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 */ |