summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rex/variants/karis/gpio.c
diff options
context:
space:
mode:
authorTyler Wang <tyler.wang@quanta.corp-partner.google.com>2023-05-31 17:08:05 +0800
committerMartin L Roth <gaumless@gmail.com>2023-06-03 20:39:04 +0000
commit4ce6ef972539c8d2e474aa3bd9fdee800afd22b5 (patch)
tree9ddde31b09f96c1be713f6ac7975c71dc7298ebd /src/mainboard/google/rex/variants/karis/gpio.c
parent9310035594dd85d9f4fc27765a3b00bf3c6cbb29 (diff)
mb/google/rex: Create karis variant
Create the karis variant of the rex0 reference board by copying the template files to a new directory named for the variant. (Auto-Generated by create_coreboot_variant.sh version 4.5.0.) BUG=b:285195072 TEST=util/abuild/abuild -p none -t google/rex -x -a make sure the build includes GOOGLE_KARIS Change-Id: I16d8b43390401789b87a6233238e37f32a17b46b Signed-off-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75551 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/mainboard/google/rex/variants/karis/gpio.c')
-rw-r--r--src/mainboard/google/rex/variants/karis/gpio.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mainboard/google/rex/variants/karis/gpio.c b/src/mainboard/google/rex/variants/karis/gpio.c
new file mode 100644
index 0000000000..b6e346f5a4
--- /dev/null
+++ b/src/mainboard/google/rex/variants/karis/gpio.c
@@ -0,0 +1,30 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <baseboard/gpio.h>
+#include <baseboard/variants.h>
+#include <types.h>
+#include <soc/gpio.h>
+#include <vendorcode/google/chromeos/chromeos.h>
+
+const struct pad_config *variant_gpio_table(size_t *num)
+{
+ *num = 0;
+ return NULL;
+}
+
+const struct pad_config *variant_early_gpio_table(size_t *num)
+{
+ *num = 0;
+ return NULL;
+}
+
+static const struct cros_gpio cros_gpios[] = {
+};
+
+DECLARE_CROS_GPIOS(cros_gpios);
+
+const struct pad_config *variant_romstage_gpio_table(size_t *num)
+{
+ *num = 0;
+ return NULL;
+}