[coreboot-gerrit] Change in coreboot[master]: mainboard/google/eve: Enable EC I2C and EC SPI devices

Duncan Laurie (Code Review) gerrit at coreboot.org
Wed Apr 26 17:39:49 CEST 2017


Duncan Laurie has uploaded a new change for review. ( https://review.coreboot.org/19465 )

Change subject: mainboard/google/eve: Enable EC I2C and EC SPI devices
......................................................................

mainboard/google/eve: Enable EC I2C and EC SPI devices

Enable both the EC I2C and EC SPI device so they are present in the
ACPI DSDT and will correctly load the 'cros_ec_i2c' and 'cros_ec_spi'
kernel drivers.

BUG=b:35585386,b:35648259
TEST=Boot this image on Eve and verify that the devices are present in
the disassembled DSDT and they load the required kernel modules to
support EC I2C and SPI messages.

Change-Id: I6e8b243ffeb4ebf8d0887b82ee486d1fdba719bf
Signed-off-by: Duncan Laurie <dlaurie at chromium.org>
---
M src/mainboard/google/eve/ec.h
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/65/19465/1

diff --git a/src/mainboard/google/eve/ec.h b/src/mainboard/google/eve/ec.h
index 0969da17..04c98fb 100644
--- a/src/mainboard/google/eve/ec.h
+++ b/src/mainboard/google/eve/ec.h
@@ -67,6 +67,12 @@
 /* Enable EC backed PD MCU device in ACPI */
 #define EC_ENABLE_PD_MCU_DEVICE
 
+/* Enable EC I2C device in ACPI */
+#define EC_ENABLE_I2C_DEVICE
+
+/* Enable EC SPI device in ACPI */
+#define EC_ENABLE_SPI_DEVICE
+
 /* Enable LID switch and provide wake pin for EC */
 #define EC_ENABLE_LID_SWITCH
 #define EC_ENABLE_WAKE_PIN	GPE_EC_WAKE

-- 
To view, visit https://review.coreboot.org/19465
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6e8b243ffeb4ebf8d0887b82ee486d1fdba719bf
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Duncan Laurie <dlaurie at chromium.org>



More information about the coreboot-gerrit mailing list