usb: s/CONFIG_DM_USB/CONFIG_IS_ENABLED(DM_USB)/
This allows to disable the USB driver model in SPL because it checks the CONFIG_SPL_DM_USB variable for SPL builds. Nothing changes for regular non-SPL builds. Signed-off-by: Sven Schwermer <sven@svenschwermer.de>
This commit is contained in:

committed by
Marek Vasut

parent
ab5817027f
commit
fd09c205fc
@@ -271,7 +271,7 @@ int usb_host_eth_scan(int mode)
|
||||
}
|
||||
|
||||
usb_max_eth_dev = 0;
|
||||
#ifdef CONFIG_DM_USB
|
||||
#if CONFIG_IS_ENABLED(DM_USB)
|
||||
/*
|
||||
* TODO: We should add U_BOOT_USB_DEVICE() declarations to each USB
|
||||
* Ethernet driver and then most of this file can be removed.
|
||||
|
Reference in New Issue
Block a user