summaryrefslogtreecommitdiff
path: root/drivers/usb/common
diff options
context:
space:
mode:
authorSven Schwermer <sven@svenschwermer.de>2018-11-21 10:43:53 +0300
committerMarek Vasut <marex@denx.de>2018-11-26 23:19:03 +0300
commit41a25f46044c5f9b57197cfcc931106a3b8327d7 (patch)
tree946bfa5f21d89f054c2b8a5e8f108ca1ff36e378 /drivers/usb/common
parent6b21502229035779059493b2193fd790448fe85e (diff)
downloadu-boot-41a25f46044c5f9b57197cfcc931106a3b8327d7.tar.xz
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/common')
-rw-r--r--drivers/usb/common/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/common/Makefile b/drivers/usb/common/Makefile
index 55e0547b16..3bedbf213f 100644
--- a/drivers/usb/common/Makefile
+++ b/drivers/usb/common/Makefile
@@ -3,6 +3,6 @@
# (C) Copyright 2016 Freescale Semiconductor, Inc.
#
-obj-$(CONFIG_DM_USB) += common.o
+obj-$(CONFIG_$(SPL_)DM_USB) += common.o
obj-$(CONFIG_USB_EHCI_FSL) += fsl-dt-fixup.o fsl-errata.o
obj-$(CONFIG_USB_XHCI_FSL) += fsl-dt-fixup.o fsl-errata.o