mirror of
https://xff.cz/git/u-boot/
synced 2025-09-21 10:32:07 +02:00
usb: Do not compile USB_STORAGE with BLK && !DM_USB
The USB storage driver does not compile when CONFIG_BLK is set, but DM_USB is not set, as we're missing the DM device links for CONFIG_BLK enabled code paths. So far it looks like nobody fell into this trap, because no board enabled CONFIG_BLK and CONFIG_USB_STORAGE while not enabling CONFIG_DM_USB, but we should still reflect that dependency properly in Kconfig so that implicit enabling of CONFIG_USB_STORAGE works. Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
@@ -70,6 +70,7 @@ comment "USB peripherals"
|
|||||||
|
|
||||||
config USB_STORAGE
|
config USB_STORAGE
|
||||||
bool "USB Mass Storage support"
|
bool "USB Mass Storage support"
|
||||||
|
depends on !(BLK && !DM_USB)
|
||||||
---help---
|
---help---
|
||||||
Say Y here if you want to connect USB mass storage devices to your
|
Say Y here if you want to connect USB mass storage devices to your
|
||||||
board's USB port.
|
board's USB port.
|
||||||
|
Reference in New Issue
Block a user