summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/hatch/romstage.c7
-rw-r--r--src/mainboard/google/hatch/variants/hatch/include/variant/gpio.h6
-rw-r--r--src/mainboard/google/hatch/variants/hatch_whl/include/variant/gpio.h6
-rw-r--r--src/mainboard/google/hatch/variants/helios/include/variant/gpio.h6
-rw-r--r--src/mainboard/google/hatch/variants/kindred/include/variant/gpio.h6
-rw-r--r--src/mainboard/google/hatch/variants/kohaku/include/variant/gpio.h6
6 files changed, 31 insertions, 6 deletions
diff --git a/src/mainboard/google/hatch/romstage.c b/src/mainboard/google/hatch/romstage.c
index 2c630a8ce8..69fee28025 100644
--- a/src/mainboard/google/hatch/romstage.c
+++ b/src/mainboard/google/hatch/romstage.c
@@ -21,12 +21,7 @@
#include <soc/cnl_memcfg_init.h>
#include <soc/romstage.h>
#include <string.h>
-
-/* Memory configuration board straps */
-#define GPIO_MEM_CONFIG_0 GPP_F20
-#define GPIO_MEM_CONFIG_1 GPP_F21
-#define GPIO_MEM_CONFIG_2 GPP_F11
-#define GPIO_MEM_CONFIG_3 GPP_F22
+#include <variant/gpio.h>
/*
* GPIO_MEM_CH_SEL is set to 1 for single channel skus
diff --git a/src/mainboard/google/hatch/variants/hatch/include/variant/gpio.h b/src/mainboard/google/hatch/variants/hatch/include/variant/gpio.h
index 5d69eeddbc..e7d8a75937 100644
--- a/src/mainboard/google/hatch/variants/hatch/include/variant/gpio.h
+++ b/src/mainboard/google/hatch/variants/hatch/include/variant/gpio.h
@@ -18,4 +18,10 @@
#include <baseboard/gpio.h>
+/* Memory configuration board straps */
+#define GPIO_MEM_CONFIG_0 GPP_F20
+#define GPIO_MEM_CONFIG_1 GPP_F21
+#define GPIO_MEM_CONFIG_2 GPP_F11
+#define GPIO_MEM_CONFIG_3 GPP_F22
+
#endif
diff --git a/src/mainboard/google/hatch/variants/hatch_whl/include/variant/gpio.h b/src/mainboard/google/hatch/variants/hatch_whl/include/variant/gpio.h
index d99e2bbd65..29e590422f 100644
--- a/src/mainboard/google/hatch/variants/hatch_whl/include/variant/gpio.h
+++ b/src/mainboard/google/hatch/variants/hatch_whl/include/variant/gpio.h
@@ -18,4 +18,10 @@
#include <baseboard/gpio.h>
+/* Memory configuration board straps */
+#define GPIO_MEM_CONFIG_0 GPP_F20
+#define GPIO_MEM_CONFIG_1 GPP_F21
+#define GPIO_MEM_CONFIG_2 GPP_F11
+#define GPIO_MEM_CONFIG_3 GPP_F22
+
#endif
diff --git a/src/mainboard/google/hatch/variants/helios/include/variant/gpio.h b/src/mainboard/google/hatch/variants/helios/include/variant/gpio.h
index d99e2bbd65..92f9d412fd 100644
--- a/src/mainboard/google/hatch/variants/helios/include/variant/gpio.h
+++ b/src/mainboard/google/hatch/variants/helios/include/variant/gpio.h
@@ -18,4 +18,10 @@
#include <baseboard/gpio.h>
+/* Memory configuration board straps */
+#define GPIO_MEM_CONFIG_0 GPP_H19
+#define GPIO_MEM_CONFIG_1 GPP_H22
+#define GPIO_MEM_CONFIG_2 GPP_F10
+#define GPIO_MEM_CONFIG_3 GPP_F3
+
#endif
diff --git a/src/mainboard/google/hatch/variants/kindred/include/variant/gpio.h b/src/mainboard/google/hatch/variants/kindred/include/variant/gpio.h
index d99e2bbd65..29e590422f 100644
--- a/src/mainboard/google/hatch/variants/kindred/include/variant/gpio.h
+++ b/src/mainboard/google/hatch/variants/kindred/include/variant/gpio.h
@@ -18,4 +18,10 @@
#include <baseboard/gpio.h>
+/* Memory configuration board straps */
+#define GPIO_MEM_CONFIG_0 GPP_F20
+#define GPIO_MEM_CONFIG_1 GPP_F21
+#define GPIO_MEM_CONFIG_2 GPP_F11
+#define GPIO_MEM_CONFIG_3 GPP_F22
+
#endif
diff --git a/src/mainboard/google/hatch/variants/kohaku/include/variant/gpio.h b/src/mainboard/google/hatch/variants/kohaku/include/variant/gpio.h
index d99e2bbd65..29e590422f 100644
--- a/src/mainboard/google/hatch/variants/kohaku/include/variant/gpio.h
+++ b/src/mainboard/google/hatch/variants/kohaku/include/variant/gpio.h
@@ -18,4 +18,10 @@
#include <baseboard/gpio.h>
+/* Memory configuration board straps */
+#define GPIO_MEM_CONFIG_0 GPP_F20
+#define GPIO_MEM_CONFIG_1 GPP_F21
+#define GPIO_MEM_CONFIG_2 GPP_F11
+#define GPIO_MEM_CONFIG_3 GPP_F22
+
#endif