summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rex/variants/rex0
diff options
context:
space:
mode:
authorEric Lai <eric_lai@quanta.corp-partner.google.com>2022-05-24 10:01:49 +0800
committerSubrata Banik <subratabanik@google.com>2022-07-01 07:23:45 +0000
commit7c304f8d3433b88969cd9ccd7fa6149e5030f8e7 (patch)
treee5918d0c70c0dfca7f28967137b34c90b2be2874 /src/mainboard/google/rex/variants/rex0
parent7a294be356b44b5569682e652271f2aaddee91a3 (diff)
mb/google/rex: Enable EC
Perform EC initialization in bootblock and ramstages. Add associated ACPI configuration. BUG=b:224325352 TEST=util/abuild/abuild -p none -t google/rex -a -c max Signed-off-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Signed-off-by: Subrata Banik <subratabanik@google.com> Change-Id: I2ea934f32b34bc43650e20dd2736f4e652004dc2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64622 Reviewed-by: Tarun Tuli <taruntuli@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/rex/variants/rex0')
-rw-r--r--src/mainboard/google/rex/variants/rex0/include/variant/ec.h8
-rw-r--r--src/mainboard/google/rex/variants/rex0/include/variant/gpio.h2
2 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/rex/variants/rex0/include/variant/ec.h b/src/mainboard/google/rex/variants/rex0/include/variant/ec.h
new file mode 100644
index 0000000000..4fc0622f15
--- /dev/null
+++ b/src/mainboard/google/rex/variants/rex0/include/variant/ec.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef MAINBOARD_EC_H
+#define MAINBOARD_EC_H
+
+#include <baseboard/ec.h>
+
+#endif /* MAINBOARD_GPIO_H */
diff --git a/src/mainboard/google/rex/variants/rex0/include/variant/gpio.h b/src/mainboard/google/rex/variants/rex0/include/variant/gpio.h
index 27c87b3fe7..41c3798bc1 100644
--- a/src/mainboard/google/rex/variants/rex0/include/variant/gpio.h
+++ b/src/mainboard/google/rex/variants/rex0/include/variant/gpio.h
@@ -5,4 +5,6 @@
#include <baseboard/gpio.h>
+/* TODO: Add GPIO as per rex board */
+
#endif /* __MAINBOARD_GPIO_H__ */