diff options
author | Sven Schwermer <sven@svenschwermer.de> | 2018-11-21 08:43:53 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-11-26 21:19:03 +0100 |
commit | 41a25f46044c5f9b57197cfcc931106a3b8327d7 (patch) | |
tree | 946bfa5f21d89f054c2b8a5e8f108ca1ff36e378 /drivers/usb/host | |
parent | 6b21502229035779059493b2193fd790448fe85e (diff) |
usb: Introduce CONFIG_SPL_DM_USB
This allows building the SPL without driver model for USB. Since
CONFIG_SPL_DM_USB is enabled if and only if CONFIG_DM_USB was enabled
before, this patch does not change the build behaviour.
Signed-off-by: Sven Schwermer <sven@svenschwermer.de>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r-- | drivers/usb/host/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/Makefile b/drivers/usb/host/Makefile index cb8c315a15..bfa565c4c3 100644 --- a/drivers/usb/host/Makefile +++ b/drivers/usb/host/Makefile @@ -3,7 +3,7 @@ # (C) Copyright 2000-2007 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. -ifdef CONFIG_DM_USB +ifdef CONFIG_$(SPL_)DM_USB obj-$(CONFIG_CMD_USB) += usb-uclass.o obj-$(CONFIG_SANDBOX) += usb-sandbox.o endif |