From ae9875d57b4bd9cbb2723f6671ac36e75494d174 Mon Sep 17 00:00:00 2001
From: California Sullivan <california.l.sullivan@intel.com>
Date: Tue, 19 Sep 2017 15:03:38 -0700
Subject: [PATCH] features/usb/usb-typec: fix dependencies

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@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 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 09b82dc3d..b23b75efe 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 5828e986e..a55629a89 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
-- 
GitLab