aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/volteer/variants/todor/include
diff options
context:
space:
mode:
authorYH Lin <yueherngl@google.com>2020-07-24 18:13:40 -0700
committerNick Vaccaro <nvaccaro@google.com>2020-07-28 09:41:41 +0000
commitabe549cac746ef535533dbb3b051d3f1dc337138 (patch)
tree8e36459c0aeef37ed866f0312a0184bd87a56824 /src/mainboard/google/volteer/variants/todor/include
parent32c505715c551da50b84987bd06f6d29635031a1 (diff)
mb/google/volteer: sync'ing todor with terrador
Todor is created to take the place of terrador therefore copying terrador content into todor's setup. BUG=b:162110806 BRANCH=None TEST=util/abuild/abuild -p none -t google/volteer -x -a make sure the build includes GOOGLE_TODOR Signed-off-by: YH Lin <yueherngl@google.com> Change-Id: I63151728a04f2252ca8a77158a2656ad8b1e1b51 Reviewed-on: https://review.coreboot.org/c/coreboot/+/43841 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Diffstat (limited to 'src/mainboard/google/volteer/variants/todor/include')
-rw-r--r--src/mainboard/google/volteer/variants/todor/include/variant/acpi/dptf.asl3
-rw-r--r--src/mainboard/google/volteer/variants/todor/include/variant/ec.h2
-rw-r--r--src/mainboard/google/volteer/variants/todor/include/variant/gpio.h17
3 files changed, 6 insertions, 16 deletions
diff --git a/src/mainboard/google/volteer/variants/todor/include/variant/acpi/dptf.asl b/src/mainboard/google/volteer/variants/todor/include/variant/acpi/dptf.asl
deleted file mode 100644
index 189cafea4c..0000000000
--- a/src/mainboard/google/volteer/variants/todor/include/variant/acpi/dptf.asl
+++ /dev/null
@@ -1,3 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-
-#include <baseboard/acpi/dptf.asl>
diff --git a/src/mainboard/google/volteer/variants/todor/include/variant/ec.h b/src/mainboard/google/volteer/variants/todor/include/variant/ec.h
index 7a2a6ff8b7..4a9a461191 100644
--- a/src/mainboard/google/volteer/variants/todor/include/variant/ec.h
+++ b/src/mainboard/google/volteer/variants/todor/include/variant/ec.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __VARIANT_EC_H__
#define __VARIANT_EC_H__
diff --git a/src/mainboard/google/volteer/variants/todor/include/variant/gpio.h b/src/mainboard/google/volteer/variants/todor/include/variant/gpio.h
index 419edcc42e..fe512d8c4a 100644
--- a/src/mainboard/google/volteer/variants/todor/include/variant/gpio.h
+++ b/src/mainboard/google/volteer/variants/todor/include/variant/gpio.h
@@ -1,19 +1,12 @@
-/*
- * 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.
- *
- * SPDX-License-Identifier: GPL-2.0-or-later
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef VARIANT_GPIO_H
#define VARIANT_GPIO_H
#include <baseboard/gpio.h>
+#undef GPIO_EC_IN_RW
+/* EC in RW */
+#define GPIO_EC_IN_RW GPP_F17
+
#endif