From 866cc3d66202ad29485bedb3f39dabe0ebf6d986 Mon Sep 17 00:00:00 2001 From: Gwendal Grignou Date: Tue, 3 May 2016 23:24:53 -0700 Subject: 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 Original-Commit-Id: 6380104986d2740a14fc74161fec9f2994d2affc Original-Change-Id: I682d68e0858327ec7c0fbd0924dd9f99527d4df0 Original-Signed-off-by: Gwendal Grignou Original-Reviewed-on: https://chromium-review.googlesource.com/342363 Original-Reviewed-by: Duncan Laurie Reviewed-on: https://review.coreboot.org/14686 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/ec/google/chromeec/acpi/cros_ec.asl | 21 +++++++++++++++++++++ src/ec/google/chromeec/acpi/ec.asl | 1 + 2 files changed, 22 insertions(+) create mode 100644 src/ec/google/chromeec/acpi/cros_ec.asl (limited to 'src/ec/google') 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 0000000000..53b63186b8 --- /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 44a7eedd31..6e47e54924 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" -- cgit v1.2.3