aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/volteer/variants/ripto/include/variant/gpio.h
diff options
context:
space:
mode:
authorNick Vaccaro <nvaccaro@google.com>2020-03-04 16:43:22 -0800
committerPatrick Georgi <pgeorgi@google.com>2020-03-06 07:56:16 +0000
commit44fc40e09186cd24df873df6ca4d82af46efc0f4 (patch)
tree911f9a499655dd1d632644ab08e636030a15ef23 /src/mainboard/google/volteer/variants/ripto/include/variant/gpio.h
parent1e67a04ff6e2dc2d337e54f61905fe3da6a197e9 (diff)
mb/google/volteer: add new ripto variant
Add a new ripto variant based off of the volteer baseboard design. BUG=b:148385924, b:150810535 TEST="emerge-volteer coreboot chromeos-bootimage", flash ripto image and verify ripto boots to the kernel. Change-Id: If7606588147500a465f16c7846e2c8429ece93ec Signed-off-by: Nick Vaccaro <nvaccaro@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39301 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: caveh jalali <caveh@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Srinidhi N Kaushik <srinidhi.n.kaushik@intel.com>
Diffstat (limited to 'src/mainboard/google/volteer/variants/ripto/include/variant/gpio.h')
-rw-r--r--src/mainboard/google/volteer/variants/ripto/include/variant/gpio.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/mainboard/google/volteer/variants/ripto/include/variant/gpio.h b/src/mainboard/google/volteer/variants/ripto/include/variant/gpio.h
new file mode 100644
index 0000000000..3a3282ee7c
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/ripto/include/variant/gpio.h
@@ -0,0 +1,28 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2020 Google LLC
+ *
+ * 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.
+ */
+
+#ifndef VARIANT_GPIO_H
+#define VARIANT_GPIO_H
+
+#include <baseboard/gpio.h>
+
+/* Memory configuration board straps */
+/* Copied from baseboard and may need to change for the new variant. */
+#define GPIO_MEM_CONFIG_0 GPP_C12
+#define GPIO_MEM_CONFIG_1 GPP_C15
+#define GPIO_MEM_CONFIG_2 GPP_C14
+#define GPIO_MEM_CONFIG_3 GPP_D15
+
+#endif