]> git.ipfire.org Git - people/ms/u-boot.git/blame - include/configs/tegra-common-usb-gadget.h
configs: Re-sync with cmd/Kconfig
[people/ms/u-boot.git] / include / configs / tegra-common-usb-gadget.h
CommitLineData
e6607cff
SW
1/*
2 * (C) Copyright 2014
3 * NVIDIA Corporation <www.nvidia.com>
4 *
5 * SPDX-License-Identifier: GPL-2.0
6 */
7
39446bce
SW
8#ifndef _TEGRA_COMMON_USB_GADGET_H_
9#define _TEGRA_COMMON_USB_GADGET_H_
e6607cff
SW
10
11#ifndef CONFIG_SPL_BUILD
39446bce 12/* USB gadget mode support*/
e6607cff 13#define CONFIG_CI_UDC_HAS_HOSTPC
39446bce 14/* USB mass storage protocol */
01acd6ab 15#define CONFIG_USB_FUNCTION_MASS_STORAGE
39446bce 16/* DFU protocol */
01acd6ab 17#define CONFIG_USB_FUNCTION_DFU
f69d72ee
SW
18#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_1M
19#define CONFIG_SYS_DFU_MAX_FILE_SIZE SZ_32M
39446bce
SW
20#ifdef CONFIG_MMC
21#define CONFIG_DFU_MMC
22#endif
23#ifdef CONFIG_SPI_FLASH
24#define CONFIG_DFU_SF
25#endif
aa46b408 26#define CONFIG_DFU_RAM
e6607cff
SW
27#endif
28
39446bce 29#endif /* _TEGRA_COMMON_USB_GADGET_H_ */