[U-Boot] [PATCH 2/3] Kconfig: CMD_USB_MASS_STORAGE implies USB_FUNCTION_MASS_STORAGE
Philipp Tomsich
philipp.tomsich at theobroma-systems.com
Fri Jul 14 14:22:13 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>
---
cmd/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 6758db1..a60a568 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