Commit 4f60e5d3a82f7061d235c28eb3451b612fae43b5
Committed by
Tom Rini
1 parent
c6c1ca100f
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
Kconfig: gadget: Move CONFIG_USB_FUNCTION_MASS_STORAGE to Kconfig
This commit moves USB_FUNCTION_MASS_STORAGE config to Kconfig. Signed-off-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Showing 52 changed files with 27 additions and 51 deletions Side-by-side Diff
- configs/Bananapi_m2m_defconfig
- configs/CHIP_pro_defconfig
- configs/Nintendo_NES_Classic_Edition_defconfig
- configs/Sinlinx_SinA33_defconfig
- configs/chromebit_mickey_defconfig
- configs/chromebook_jerry_defconfig
- configs/chromebook_minnie_defconfig
- configs/evb-rk3036_defconfig
- configs/evb-rk3229_defconfig
- configs/evb-rk3288_defconfig
- configs/fennec-rk3288_defconfig
- configs/firefly-rk3288_defconfig
- configs/kylin-rk3036_defconfig
- configs/miqi-rk3288_defconfig
- configs/parrot_r16_defconfig
- configs/phycore-rk3288_defconfig
- configs/popmetal-rk3288_defconfig
- configs/rock2_defconfig
- configs/tbs_a711_defconfig
- configs/tinker-rk3288_defconfig
- configs/vyasa-rk3288_defconfig
- drivers/usb/gadget/Kconfig
- include/configs/advantech_dms-ba16.h
- include/configs/apalis_imx6.h
- include/configs/bav335x.h
- include/configs/cgtqmx6eval.h
- include/configs/colibri_imx6.h
- include/configs/colibri_imx7.h
- include/configs/colibri_vf.h
- include/configs/dh_imx6.h
- include/configs/exynos4-common.h
- include/configs/ge_bx50v3.h
- include/configs/gw_ventana.h
- include/configs/ma5d4evk.h
- include/configs/mx6sabre_common.h
- include/configs/mx7dsabresd.h
- include/configs/nitrogen6x.h
- include/configs/odroid_xu3.h
- include/configs/opos6uldev.h
- include/configs/pico-imx6ul.h
- include/configs/pico-imx7d.h
- include/configs/rk3036_common.h
- include/configs/rk3128_common.h
- include/configs/rk322x_common.h
- include/configs/rk3288_common.h
- include/configs/s5p_goni.h
- include/configs/socfpga_common.h
- include/configs/sunxi-common.h
- include/configs/tbs2910.h
- include/configs/tegra-common-usb-gadget.h
- include/configs/warp.h
- include/configs/warp7.h
configs/Bananapi_m2m_defconfig
configs/CHIP_pro_defconfig
configs/Nintendo_NES_Classic_Edition_defconfig
configs/Sinlinx_SinA33_defconfig
configs/chromebit_mickey_defconfig
configs/chromebook_jerry_defconfig
configs/chromebook_minnie_defconfig
configs/evb-rk3036_defconfig
configs/evb-rk3229_defconfig
configs/evb-rk3288_defconfig
configs/fennec-rk3288_defconfig
configs/firefly-rk3288_defconfig
configs/kylin-rk3036_defconfig
configs/miqi-rk3288_defconfig
configs/parrot_r16_defconfig
configs/phycore-rk3288_defconfig
configs/popmetal-rk3288_defconfig
configs/rock2_defconfig
configs/tbs_a711_defconfig
configs/tinker-rk3288_defconfig
configs/vyasa-rk3288_defconfig
drivers/usb/gadget/Kconfig
... | ... | @@ -127,6 +127,12 @@ |
127 | 127 | |
128 | 128 | if USB_GADGET_DOWNLOAD |
129 | 129 | |
130 | +config USB_FUNCTION_MASS_STORAGE | |
131 | + bool "Enable USB mass storage gadget" | |
132 | + help | |
133 | + Enable mass storage protocol support in U-Boot. It allows exporting | |
134 | + the eMMC/SD card content to HOST PC so it can be mounted. | |
135 | + | |
130 | 136 | config USB_FUNCTION_ROCKUSB |
131 | 137 | bool "Enable USB rockusb gadget" |
132 | 138 | help |
include/configs/advantech_dms-ba16.h
include/configs/apalis_imx6.h
include/configs/bav335x.h
... | ... | @@ -400,10 +400,6 @@ |
400 | 400 | #define CONFIG_AM335X_USB1 |
401 | 401 | #define CONFIG_AM335X_USB1_MODE MUSB_HOST |
402 | 402 | |
403 | -#ifdef CONFIG_USB_MUSB_GADGET | |
404 | -#define CONFIG_USB_FUNCTION_MASS_STORAGE | |
405 | -#endif /* CONFIG_USB_MUSB_GADGET */ | |
406 | - | |
407 | 403 | #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT) |
408 | 404 | /* disable host part of MUSB in SPL */ |
409 | 405 | /* disable EFI partitions and partition UUID support */ |
include/configs/cgtqmx6eval.h
include/configs/colibri_imx6.h
include/configs/colibri_imx7.h
include/configs/colibri_vf.h
include/configs/dh_imx6.h
... | ... | @@ -116,8 +116,6 @@ |
116 | 116 | |
117 | 117 | /* USB Gadget (DFU, UMS) */ |
118 | 118 | #if defined(CONFIG_CMD_DFU) || defined(CONFIG_CMD_USB_MASS_STORAGE) |
119 | -#define CONFIG_USB_FUNCTION_MASS_STORAGE | |
120 | - | |
121 | 119 | #define CONFIG_SYS_DFU_DATA_BUF_SIZE (16 * 1024 * 1024) |
122 | 120 | #define DFU_DEFAULT_POLL_TIMEOUT 300 |
123 | 121 |
include/configs/exynos4-common.h
include/configs/ge_bx50v3.h
include/configs/gw_ventana.h
include/configs/ma5d4evk.h
include/configs/mx6sabre_common.h
include/configs/mx7dsabresd.h
include/configs/nitrogen6x.h
include/configs/odroid_xu3.h
include/configs/opos6uldev.h
include/configs/pico-imx6ul.h
include/configs/pico-imx7d.h
include/configs/rk3036_common.h
include/configs/rk3128_common.h
include/configs/rk322x_common.h
include/configs/rk3288_common.h
include/configs/s5p_goni.h
include/configs/socfpga_common.h
... | ... | @@ -210,8 +210,6 @@ |
210 | 210 | * USB Gadget (DFU, UMS) |
211 | 211 | */ |
212 | 212 | #if defined(CONFIG_CMD_DFU) || defined(CONFIG_CMD_USB_MASS_STORAGE) |
213 | -#define CONFIG_USB_FUNCTION_MASS_STORAGE | |
214 | - | |
215 | 213 | #define CONFIG_SYS_DFU_DATA_BUF_SIZE (16 * 1024 * 1024) |
216 | 214 | #define DFU_DEFAULT_POLL_TIMEOUT 300 |
217 | 215 |
include/configs/sunxi-common.h
include/configs/tbs2910.h
... | ... | @@ -91,7 +91,6 @@ |
91 | 91 | #define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) |
92 | 92 | #ifdef CONFIG_CMD_USB_MASS_STORAGE |
93 | 93 | #define CONFIG_USBD_HS |
94 | -#define CONFIG_USB_FUNCTION_MASS_STORAGE | |
95 | 94 | #endif /* CONFIG_CMD_USB_MASS_STORAGE */ |
96 | 95 | #ifdef CONFIG_USB_KEYBOARD |
97 | 96 | #define CONFIG_PREBOOT \ |
include/configs/tegra-common-usb-gadget.h
... | ... | @@ -13,8 +13,6 @@ |
13 | 13 | #ifndef CONFIG_TEGRA20 |
14 | 14 | #define CONFIG_CI_UDC_HAS_HOSTPC |
15 | 15 | #endif |
16 | -/* USB mass storage protocol */ | |
17 | -#define CONFIG_USB_FUNCTION_MASS_STORAGE | |
18 | 16 | /* DFU protocol */ |
19 | 17 | #define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_1M |
20 | 18 | #define CONFIG_SYS_DFU_MAX_FILE_SIZE SZ_32M |
include/configs/warp.h
include/configs/warp7.h