diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2016-09-28 12:24:05 +0300 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2016-10-10 20:44:37 +0300 |
commit | 7e1784651b057136847259358a3383c148d6f374 (patch) | |
tree | f2785607c332f858c9d53e254047d3cbed83a1e7 | |
parent | f5fd45ff64e28a73499548358e3d1ceda0de7daf (diff) | |
download | u-boot-7e1784651b057136847259358a3383c148d6f374.tar.xz |
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>
-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 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 */ |