[U-Boot] [PATCH v6 1/8] usb: Kconfig: add depends on features for xhci-rockchip driver

Meng Dongyang daniel.meng at rock-chips.com
Wed Jun 21 03:58:20 UTC 2017


The xhci-rockchip driver depends on DM_REGULATOR and DM_USB.
So add depends on features in Kconfig to make the driver explicitly
depend on DM_REGULATOR and DM_USB.

Signed-off-by: Meng Dongyang <daniel.meng at rock-chips.com>
---

Changes in v6:
- New patch, add depends on features for xhci-rockchip in Kconfig

 drivers/usb/host/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index b824eec..5e07a10 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -34,6 +34,8 @@ config USB_XHCI_MVEBU
 config USB_XHCI_ROCKCHIP
 	bool "Support for Rockchip on-chip xHCI USB controller"
 	depends on ARCH_ROCKCHIP
+	depends on DM_REGULATOR
+	depends on DM_USB
 	default y
 	help
 	  Enables support for the on-chip xHCI controller on Rockchip SoCs.
-- 
1.9.1




More information about the U-Boot mailing list