apalis/colibri imx6: provide proper fdtfile value
[oweals/u-boot.git] / include / configs / tegra-common-usb-gadget.h
index 00f854eb71fa303dd420c2f6f315b42c7f1849bb..e6b61c4e8fd36b6f38d8f464bcbbe1a6d5f011bd 100644 (file)
@@ -1,8 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * (C) Copyright 2014
  * NVIDIA Corporation <www.nvidia.com>
- *
- * SPDX-License-Identifier:     GPL-2.0
  */
 
 #ifndef _TEGRA_COMMON_USB_GADGET_H_
@@ -10,9 +9,9 @@
 
 #ifndef CONFIG_SPL_BUILD
 /* USB gadget mode support*/
+#ifndef CONFIG_TEGRA20
 #define CONFIG_CI_UDC_HAS_HOSTPC
-/* USB mass storage protocol */
-#define CONFIG_USB_FUNCTION_MASS_STORAGE
+#endif
 /* DFU protocol */
 #define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_1M
 #define CONFIG_SYS_DFU_MAX_FILE_SIZE SZ_32M