summaryrefslogtreecommitdiff
path: root/src/drivers/intel/ish/chip.h
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2019-03-01 10:20:34 -0700
committerPatrick Georgi <pgeorgi@google.com>2019-03-06 20:01:58 +0000
commit6bdfc8027bb68bcecd7c31069065c1e7c8ef3598 (patch)
tree8b03ef92925c83f4d5a7ecaadc094014046bbcf4 /src/drivers/intel/ish/chip.h
parent4e8dee51e3f0a69f3a4171723fddbda5ecebe403 (diff)
downloadcoreboot-6bdfc8027bb68bcecd7c31069065c1e7c8ef3598.tar.xz
driver/intel/ish: add ish chip driver support
We want to be able to specify the firmware variant suffix in the devicetree.cb configuration for particular firmware builds. This driver allows us to specify the firmware_variant property in the device tree and have it populate a _DST table in the SSDT ACPI table for the ISH device, thus making the suffix available to the kernel (See crrev.com/c/1433482 for kernel change that uses the value) BUG=b:122722008 TEST=decompile DDST table and verify that new firmware-variant value is present. Also verfied that kernel can access this new field using the shim loader kernel CLs Change-Id: Id8be986185282521aee574027503eaf8968e1508 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31682 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/drivers/intel/ish/chip.h')
-rw-r--r--src/drivers/intel/ish/chip.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/drivers/intel/ish/chip.h b/src/drivers/intel/ish/chip.h
new file mode 100644
index 0000000000..ae3fb35b8d
--- /dev/null
+++ b/src/drivers/intel/ish/chip.h
@@ -0,0 +1,22 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2019 Google LLC
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+/*
+ * Intel Integrated Sensor Hub (ISH)
+ */
+struct drivers_intel_ish_config {
+ /* Firmware name used by kernel for loading ISH firmware */
+ const char *firmware_name;
+};