mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-17 23:48:52 +09:00
![Tom Rini](/assets/img/avatar_default.png)
Update the config.h and defconfig files for the commands that 8e3c036 converted over to Kconfig Signed-off-by: Tom Rini <trini@konsulko.com>
30 lines
656 B
C
30 lines
656 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*/
|
|
#define CONFIG_CI_UDC_HAS_HOSTPC
|
|
/* USB mass storage protocol */
|
|
#define CONFIG_USB_FUNCTION_MASS_STORAGE
|
|
/* DFU protocol */
|
|
#define CONFIG_USB_FUNCTION_DFU
|
|
#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_1M
|
|
#define CONFIG_SYS_DFU_MAX_FILE_SIZE SZ_32M
|
|
#ifdef CONFIG_MMC
|
|
#define CONFIG_DFU_MMC
|
|
#endif
|
|
#ifdef CONFIG_SPI_FLASH
|
|
#define CONFIG_DFU_SF
|
|
#endif
|
|
#define CONFIG_DFU_RAM
|
|
#endif
|
|
|
|
#endif /* _TEGRA_COMMON_USB_GADGET_H_ */
|