[linux-yocto] [yocto-kernel-cache][PATCH] features/usb/usb-typec: fix dependencies

California Sullivan california.l.sullivan at intel.com
Tue Sep 19 15:03:38 PDT 2017


Adds dependencies that were missing. In some BSPs, they were satisfied,
in others they weren't and caused warnings.

Signed-off-by: California Sullivan <california.l.sullivan at intel.com>
---
For yocto-4.9 and newer.
 features/usb/usb-typec.cfg | 3 +++
 features/usb/usb-typec.scc | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/features/usb/usb-typec.cfg b/features/usb/usb-typec.cfg
index 09b82dc..b23b75e 100644
--- a/features/usb/usb-typec.cfg
+++ b/features/usb/usb-typec.cfg
@@ -1,2 +1,5 @@
+# Dependencies
+CONFIG_INTEL_PMC_IPC=y
+
 # Intel WhiskeyCove PMIC USB Type-C PHY driver
 CONFIG_TYPEC_WCOVE=m
diff --git a/features/usb/usb-typec.scc b/features/usb/usb-typec.scc
index 5828e98..a55629a 100644
--- a/features/usb/usb-typec.scc
+++ b/features/usb/usb-typec.scc
@@ -1,4 +1,6 @@
 define KFEATURE_DESCRIPTION "Enable Intel WhiskeyCove PMIC USB Type C PHY driver"
 define KFEATURE_COMPATIBILITY board
 
+include features/power/intel_pmic.scc
+
 kconf hardware usb-typec.cfg
-- 
2.9.5



More information about the linux-yocto mailing list