mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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>
This commit is contained in:
parent
f5fd45ff64
commit
7e1784651b
1 changed files with 2 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue