mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-21 10:43:26 +08:00
7e1784651b
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>
24 lines
530 B
C
24 lines
530 B
C
/*
|
|
* (C) Copyright 2014
|
|
* NVIDIA Corporation <www.nvidia.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0
|
|
*/
|
|
|
|
#ifndef _TEGRA_COMMON_USB_GADGET_H_
|
|
#define _TEGRA_COMMON_USB_GADGET_H_
|
|
|
|
#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 */
|
|
#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_1M
|
|
#define CONFIG_SYS_DFU_MAX_FILE_SIZE SZ_32M
|
|
#endif
|
|
|
|
#endif /* _TEGRA_COMMON_USB_GADGET_H_ */
|