[U-Boot] [PATCH v3 2/3] Kconfig: CMD_USB_MASS_STORAGE implies USB_FUNCTION_MASS_STORAGE
Philipp Tomsich
philipp.tomsich at theobroma-systems.com
Wed Jul 26 11:22:58 UTC 2017
There's an unconditional dependency from the mass-storage command
onto the mass-storage function through a call to fsg_main_thread(...).
If USB_FUNCTION_MASS_STORAGE is not enabled, this will result in
link-errors when CMD_USB_MASS_STORAGE is enabled.
Let's introduce an 'implies' relationship to model this dependency.
Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
---
Changes in v3:
- rebased onto u-boot-usb/master at d2f6f70
Changes in v2: None
cmd/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index f18efc1..a5fe580 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -667,6 +667,7 @@ config CMD_DFU
config CMD_USB_MASS_STORAGE
bool "UMS usb mass storage"
+ imply USB_FUNCTION_MASS_STORAGE
help
USB mass storage support
--
2.1.4
More information about the U-Boot
mailing list