summaryrefslogtreecommitdiff
path: root/baseboard/intelrvp/build.mk
diff options
context:
space:
mode:
authorDaniel Gonzalez <daniel.d.gonzalez@intel.com>2019-02-25 11:16:33 -0800
committerchrome-bot <chrome-bot@chromium.org>2019-05-21 14:20:33 -0700
commit626c64717ccac1351dd5cd614341238b3ec8ab1b (patch)
treee60e2609376a9ae5f493f9b5eb2000041abc6f8f /baseboard/intelrvp/build.mk
parent35048bb784c24f8f4d88e6664cdd4453677f8cb9 (diff)
downloadchrome-ec-626c64717ccac1351dd5cd614341238b3ec8ab1b.tar.gz
Intelrvp: Add baseboard for Intel RVPs
Intel-RVP supports Chrome EC via an Add In Card called as MECC (Modular Embedded Controller Card). MECC has a standard spec which defines pin routing and purpose of these pins. These MECC pins are same across all the platforms hence we can have a baseboard for Intel-RVPs and reuse the code for RVP board specific codes. Chrome MECC spec is standardized for Icelake and successor RVPs hence this baseboard code is applicable to Icelake and its successors only. BUG=b:132061907 TEST=Using this baseboard implemented board code for ICLRVP, and it can boot all the way to Chrome OS. BRANCH=none Change-Id: I4de891d4720e8cad83888caf9635f61f2ca11b8b Signed-off-by: Daniel Gonzalez <daniel.d.gonzalez@intel.com> Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/1594171 Commit-Ready: Jett Rink <jettrink@chromium.org> Commit-Ready: Vijay P Hiremath <vijay.p.hiremath@intel.com> Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'baseboard/intelrvp/build.mk')
-rw-r--r--baseboard/intelrvp/build.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/baseboard/intelrvp/build.mk b/baseboard/intelrvp/build.mk
new file mode 100644
index 0000000000..bfbd86abce
--- /dev/null
+++ b/baseboard/intelrvp/build.mk
@@ -0,0 +1,28 @@
+# -*- makefile -*-
+# Copyright 2018 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+#
+# Baseboard specific files build
+#
+
+#Intel RVP common files
+baseboard-y=baseboard.o
+baseboard-$(CONFIG_LED_COMMON)+=led.o led_states.o
+baseboard-$(CONFIG_BATTERY_SMART)+=battery.o
+baseboard-$(CONFIG_USB_POWER_DELIVERY)+=chg_usb_pd.o usb_pd_policy.o
+
+#EC specific files
+baseboard-$(CONFIG_USB_PD_TCPM_ITE83XX)+=ite_ec.o
+
+#BC1.2 specific files
+baseboard-$(CONFIG_BC12_DETECT_MAX14637)+=bc12.o
+
+#USB MUX specific files
+baseboard-$(CONFIG_USB_MUX_VIRTUAL)+=usb_mux.o
+
+#USB Retimer specific files
+baseboard-$(CONFIG_USB_PD_RETIMER_INTEL_BB)+=retimer.o
+
+#VBUS detection specific files
+baseboard-$(CONFIG_USB_PD_VBUS_DETECT_GPIO)+=vbus.o