From 2f7813f7b3668e67e1ffa7675e53156089a568ef Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Thu, 24 Aug 2017 16:31:41 -0500 Subject: google/terra: add new board as variant of cyan baseboard Add support for google/terra (Asus Chromebook C202SA/C300SA) as a variant of the cyan Braswell baseboard. - Add board-specific code as the new terra variant - Add code to the baseboard to handle terra's unique thermal management - Add new shared SPD files to baseboard Sourced from Chromium branch firmware-terra-7287.154.B, commit 153f08a: Revert "Revert "soc/intel/braswell: Populate NVS SCC BAR1"" Change-Id: Ib2682eda15a989f2ec20c78317561f5b6a97483a Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/21570 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- .../terra/include/variant/acpi/mainboard.asl | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/mainboard/google/cyan/variants/terra/include/variant/acpi/mainboard.asl (limited to 'src/mainboard/google/cyan/variants/terra/include/variant/acpi/mainboard.asl') diff --git a/src/mainboard/google/cyan/variants/terra/include/variant/acpi/mainboard.asl b/src/mainboard/google/cyan/variants/terra/include/variant/acpi/mainboard.asl new file mode 100644 index 0000000000..32bdbfbb92 --- /dev/null +++ b/src/mainboard/google/cyan/variants/terra/include/variant/acpi/mainboard.asl @@ -0,0 +1,30 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2017 Matt DeVillier + * + * 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. + */ + +/* Elan trackpad */ +#include + +/* Realtek audio codec */ +#include + +Scope (\_SB) +{ + Method (GPID, 0, Serialized) // GPID: Get Project ID for Terra2/Terra3 + { + And( ShiftRight (\BDID, 3, Local0), 0x01, Local0) + Return (Local0) + } +} -- cgit v1.2.3