[coreboot-gerrit] New patch to review for coreboot: ec/google/chromeec/acpi: Add GOOG0004 to load cros_ec_lpc dynamically.

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Sat May 7 07:31:40 CEST 2016


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14686

-gerrit

commit ca75e5d9406a4ea588bf01e30f3c0765b02f83f8
Author: Gwendal Grignou <gwendal at chromium.org>
Date:   Tue May 3 23:24:53 2016 -0700

    ec/google/chromeec/acpi: Add GOOG0004 to load cros_ec_lpc dynamically.
    
    Add a GOOG0004 object that will be used to load cros_ec_lpc.
    
    BUG=chromium:516122
    BRANCH=none
    TEST=Compile. Work in cyan branch.
    
    Change-Id: Id8d9487ea6f376728eaa57728baceda7e5f6b2b9
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
    Original-Commit-Id: 6380104986d2740a14fc74161fec9f2994d2affc
    Original-Change-Id: I682d68e0858327ec7c0fbd0924dd9f99527d4df0
    Original-Signed-off-by: Gwendal Grignou <gwendal at chromium.org>
    Original-Reviewed-on: https://chromium-review.googlesource.com/342363
    Original-Reviewed-by: Duncan Laurie <dlaurie at chromium.org>
---
 src/ec/google/chromeec/acpi/cros_ec.asl | 21 +++++++++++++++++++++
 src/ec/google/chromeec/acpi/ec.asl      |  1 +
 2 files changed, 22 insertions(+)

diff --git a/src/ec/google/chromeec/acpi/cros_ec.asl b/src/ec/google/chromeec/acpi/cros_ec.asl
new file mode 100644
index 0000000..53b6318
--- /dev/null
+++ b/src/ec/google/chromeec/acpi/cros_ec.asl
@@ -0,0 +1,21 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2016 Google Inc.
+ *
+ * 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.
+ */
+
+Device (CREC)
+{
+	Name (_HID, "GOOG0004")
+	Name (_UID, 1)
+	Name (_DDN, "EC Command Device")
+}
diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl
index 44a7eed..6e47e54 100644
--- a/src/ec/google/chromeec/acpi/ec.asl
+++ b/src/ec/google/chromeec/acpi/ec.asl
@@ -417,6 +417,7 @@ Device (EC0)
 
 	#include "ac.asl"
 	#include "battery.asl"
+	#include "cros_ec.asl"
 
 #ifdef EC_ENABLE_ALS_DEVICE
 	#include "als.asl"



More information about the coreboot-gerrit mailing list