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

Signed-off-by: California Sullivan <[email protected]>
---
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

-- 
_______________________________________________
linux-yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to