summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-12-18 13:16:06 +0100
committerAngel Pons <th3fanbus@gmail.com>2021-12-19 22:52:13 +0000
commit6ebb3b60a451b094376ddeff1c3b7b405190f62d (patch)
tree72ec7d641056d53a119f7e40eb403936dd158d11 /src
parent52ad86693999dc1544f0568ad75efbc0e44b15cc (diff)
mainboard: Fix comment about early GPIOs
These boards program the early GPIO table in bootblock, not romstage. Change-Id: Iae9353d106483f30cefa2d035d96e63e4c127261 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60210 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Sean Rhodes <admin@starlabs.systems> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/asrock/h110m/include/gpio.h2
-rw-r--r--src/mainboard/google/glados/variants/asuka/include/variant/gpio.h2
-rw-r--r--src/mainboard/google/glados/variants/caroline/include/variant/gpio.h2
-rw-r--r--src/mainboard/google/glados/variants/cave/include/variant/gpio.h2
-rw-r--r--src/mainboard/google/glados/variants/chell/include/variant/gpio.h2
-rw-r--r--src/mainboard/google/glados/variants/glados/include/variant/gpio.h2
-rw-r--r--src/mainboard/google/glados/variants/lars/include/variant/gpio.h2
-rw-r--r--src/mainboard/google/glados/variants/sentry/include/variant/gpio.h2
-rw-r--r--src/mainboard/intel/kblrvp/variants/rvp11/include/variant/gpio.h2
-rw-r--r--src/mainboard/intel/kblrvp/variants/rvp3/include/variant/gpio.h2
-rw-r--r--src/mainboard/intel/kblrvp/variants/rvp7/include/variant/gpio.h2
-rw-r--r--src/mainboard/intel/kblrvp/variants/rvp8/include/variant/gpio.h2
-rw-r--r--src/mainboard/intel/kunimitsu/gpio.h2
-rw-r--r--src/mainboard/intel/saddlebrook/gpio.h2
-rw-r--r--src/mainboard/starlabs/labtop/variants/tgl/gpio.c2
-rw-r--r--src/mainboard/system76/lemp9/gpio.h2
16 files changed, 16 insertions, 16 deletions
diff --git a/src/mainboard/asrock/h110m/include/gpio.h b/src/mainboard/asrock/h110m/include/gpio.h
index 9b2193b587..18a1eb8471 100644
--- a/src/mainboard/asrock/h110m/include/gpio.h
+++ b/src/mainboard/asrock/h110m/include/gpio.h
@@ -455,7 +455,7 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_NF(GPP_I10, DN_20K, PLTRST, NF1),
};
-/* Early pad configuration in romstage */
+/* Early pad configuration in bootblock */
static const struct pad_config early_gpio_table[] = {
/* ------- GPIO Group GPP_A ------- */
/* GPP_A0 - RCIN# */
diff --git a/src/mainboard/google/glados/variants/asuka/include/variant/gpio.h b/src/mainboard/google/glados/variants/asuka/include/variant/gpio.h
index d21d9e756a..3ee5532e46 100644
--- a/src/mainboard/google/glados/variants/asuka/include/variant/gpio.h
+++ b/src/mainboard/google/glados/variants/asuka/include/variant/gpio.h
@@ -214,7 +214,7 @@ static const struct pad_config gpio_table[] = {
/* LANPHYC */ PAD_NC(GPD11, NONE),
};
-/* Early pad configuration in romstage. */
+/* Early pad configuration in bootblock. */
static const struct pad_config early_gpio_table[] = {
/* SPI_WP_STATUS */ PAD_CFG_GPI_GPIO_DRIVER(GPP_C23, UP_20K, DEEP),
/* GD_UART2_RXD */ PAD_CFG_NF(GPP_C20, NONE, DEEP, NF1),
diff --git a/src/mainboard/google/glados/variants/caroline/include/variant/gpio.h b/src/mainboard/google/glados/variants/caroline/include/variant/gpio.h
index 95d2d043b7..7f8787ce34 100644
--- a/src/mainboard/google/glados/variants/caroline/include/variant/gpio.h
+++ b/src/mainboard/google/glados/variants/caroline/include/variant/gpio.h
@@ -231,7 +231,7 @@ static const struct pad_config gpio_table[] = {
/* LANPHYC */ PAD_NC(GPD11, NONE),
};
-/* Early pad configuration in romstage. */
+/* Early pad configuration in bootblock. */
static const struct pad_config early_gpio_table[] = {
/* UART2_CTS# */ PAD_CFG_GPI_GPIO_DRIVER(GPP_C23, UP_20K, DEEP), /* PCH_WP */
/* GD_UART2_RXD */ PAD_CFG_NF(GPP_C20, NONE, DEEP, NF1),
diff --git a/src/mainboard/google/glados/variants/cave/include/variant/gpio.h b/src/mainboard/google/glados/variants/cave/include/variant/gpio.h
index cd71ebac2f..0eb7de7595 100644
--- a/src/mainboard/google/glados/variants/cave/include/variant/gpio.h
+++ b/src/mainboard/google/glados/variants/cave/include/variant/gpio.h
@@ -223,7 +223,7 @@ static const struct pad_config gpio_table[] = {
/* LANPHYC */ PAD_NC(GPD11, NONE),
};
-/* Early pad configuration in romstage. */
+/* Early pad configuration in bootblock. */
static const struct pad_config early_gpio_table[] = {
/* UART2_CTS# */ PAD_CFG_GPI_GPIO_DRIVER(GPP_C23, UP_20K, DEEP), /* PCH_WP */
/* GD_UART2_RXD */ PAD_CFG_NF(GPP_C20, NONE, DEEP, NF1),
diff --git a/src/mainboard/google/glados/variants/chell/include/variant/gpio.h b/src/mainboard/google/glados/variants/chell/include/variant/gpio.h
index ce78ed3856..e1528620a9 100644
--- a/src/mainboard/google/glados/variants/chell/include/variant/gpio.h
+++ b/src/mainboard/google/glados/variants/chell/include/variant/gpio.h
@@ -217,7 +217,7 @@ static const struct pad_config gpio_table[] = {
/* LANPHYC */ PAD_NC(GPD11, NONE),
};
-/* Early pad configuration in romstage. */
+/* Early pad configuration in bootblock. */
static const struct pad_config early_gpio_table[] = {
/* SRCCLKREQ2# */ PAD_CFG_NF(GPP_B7, NONE, DEEP, NF1), /* KEPLER */
/* UART0_CTS# */ PAD_CFG_GPO(GPP_C11, 0, DEEP), /* EN_PP3300_KEPLER */
diff --git a/src/mainboard/google/glados/variants/glados/include/variant/gpio.h b/src/mainboard/google/glados/variants/glados/include/variant/gpio.h
index fc4eebde0a..248e7dde7b 100644
--- a/src/mainboard/google/glados/variants/glados/include/variant/gpio.h
+++ b/src/mainboard/google/glados/variants/glados/include/variant/gpio.h
@@ -220,7 +220,7 @@ static const struct pad_config gpio_table[] = {
/* LANPHYC */ /* GPD11 */
};
-/* Early pad configuration in romstage. */
+/* Early pad configuration in bootblock. */
static const struct pad_config early_gpio_table[] = {
/* SRCCLKREQ2# */ PAD_CFG_NF(GPP_B7, NONE, DEEP, NF1), /* KEPLER */
/* UART0_CTS# */ PAD_CFG_GPO(GPP_C11, 0, DEEP), /* EN_PP3300_KEPLER */
diff --git a/src/mainboard/google/glados/variants/lars/include/variant/gpio.h b/src/mainboard/google/glados/variants/lars/include/variant/gpio.h
index 51514b22d9..ee55512b9d 100644
--- a/src/mainboard/google/glados/variants/lars/include/variant/gpio.h
+++ b/src/mainboard/google/glados/variants/lars/include/variant/gpio.h
@@ -208,7 +208,7 @@ static const struct pad_config gpio_table[] = {
/* LANPHYC */ PAD_NC(GPD11, NONE),
};
-/* Early pad configuration in romstage. */
+/* Early pad configuration in bootblock. */
static const struct pad_config early_gpio_table[] = {
/* SRCCLKREQ2# */ PAD_CFG_NF(GPP_B7, NONE, DEEP, NF1), /* KEPLER */
/* UART0_CTS# */ PAD_CFG_GPO(GPP_C11, 0, DEEP), /* EN_PP3300_KEPLER */
diff --git a/src/mainboard/google/glados/variants/sentry/include/variant/gpio.h b/src/mainboard/google/glados/variants/sentry/include/variant/gpio.h
index b4011c705b..06f6cd8e6e 100644
--- a/src/mainboard/google/glados/variants/sentry/include/variant/gpio.h
+++ b/src/mainboard/google/glados/variants/sentry/include/variant/gpio.h
@@ -216,7 +216,7 @@ static const struct pad_config gpio_table[] = {
/* LANPHYC */ PAD_NC(GPD11, NONE),
};
-/* Early pad configuration in romstage. */
+/* Early pad configuration in bootblock. */
static const struct pad_config early_gpio_table[] = {
/* SRCCLKREQ2# */ PAD_CFG_NF(GPP_B7, NONE, DEEP, NF1), /* KEPLER */
/* SPI_WP_STATUS */ PAD_CFG_GPI_GPIO_DRIVER(GPP_C23, UP_20K, DEEP),
diff --git a/src/mainboard/intel/kblrvp/variants/rvp11/include/variant/gpio.h b/src/mainboard/intel/kblrvp/variants/rvp11/include/variant/gpio.h
index fe8c2e210c..aaec3ebf87 100644
--- a/src/mainboard/intel/kblrvp/variants/rvp11/include/variant/gpio.h
+++ b/src/mainboard/intel/kblrvp/variants/rvp11/include/variant/gpio.h
@@ -257,7 +257,7 @@ static const struct pad_config gpio_table[] = {
/* LANPHYC */ PAD_CFG_NF(GPD11, NONE, DEEP, NF1),
};
-/* Early pad configuration in romstage. */
+/* Early pad configuration in bootblock. */
static const struct pad_config early_gpio_table[] = {
/* UART0_RXD */ PAD_CFG_NF(GPP_C8, NONE, DEEP, NF1),
/* UART0_TXD */ PAD_CFG_NF(GPP_C9, NONE, DEEP, NF1),
diff --git a/src/mainboard/intel/kblrvp/variants/rvp3/include/variant/gpio.h b/src/mainboard/intel/kblrvp/variants/rvp3/include/variant/gpio.h
index e0292cfa86..26eb1d9f83 100644
--- a/src/mainboard/intel/kblrvp/variants/rvp3/include/variant/gpio.h
+++ b/src/mainboard/intel/kblrvp/variants/rvp3/include/variant/gpio.h
@@ -193,7 +193,7 @@ static const struct pad_config gpio_table[] = {
/* LANPHYC */ PAD_CFG_NF(GPD11, NONE, DEEP, NF1),
};
-/* Early pad configuration in romstage. */
+/* Early pad configuration in bootblock. */
static const struct pad_config early_gpio_table[] = {
/* UART2_RXD */ PAD_CFG_NF(GPP_C20, NONE, DEEP, NF1),
/* UART2_TXD */ PAD_CFG_NF(GPP_C21, NONE, DEEP, NF1),
diff --git a/src/mainboard/intel/kblrvp/variants/rvp7/include/variant/gpio.h b/src/mainboard/intel/kblrvp/variants/rvp7/include/variant/gpio.h
index a60850545f..d2e76d9632 100644
--- a/src/mainboard/intel/kblrvp/variants/rvp7/include/variant/gpio.h
+++ b/src/mainboard/intel/kblrvp/variants/rvp7/include/variant/gpio.h
@@ -193,7 +193,7 @@ static const struct pad_config gpio_table[] = {
/* LANPHYC */ PAD_CFG_NF(GPD11, NONE, DEEP, NF1),
};
-/* Early pad configuration in romstage. */
+/* Early pad configuration in bootblock. */
static const struct pad_config early_gpio_table[] = {
/* UART0_RXD */ PAD_CFG_NF(GPP_C8, NONE, DEEP, NF1),
/* UART0_TXD */ PAD_CFG_NF(GPP_C9, NONE, DEEP, NF1),
diff --git a/src/mainboard/intel/kblrvp/variants/rvp8/include/variant/gpio.h b/src/mainboard/intel/kblrvp/variants/rvp8/include/variant/gpio.h
index 5b588a10c3..44997c7263 100644
--- a/src/mainboard/intel/kblrvp/variants/rvp8/include/variant/gpio.h
+++ b/src/mainboard/intel/kblrvp/variants/rvp8/include/variant/gpio.h
@@ -159,7 +159,7 @@ static const struct pad_config gpio_table[] = {
};
-/* Early pad configuration in romstage. */
+/* Early pad configuration in bootblock. */
static const struct pad_config early_gpio_table[] = {
/* UART0_RXD */ PAD_CFG_NF(GPP_C8, NONE, DEEP, NF1),
/* UART0_TXD */ PAD_CFG_NF(GPP_C9, NONE, DEEP, NF1),
diff --git a/src/mainboard/intel/kunimitsu/gpio.h b/src/mainboard/intel/kunimitsu/gpio.h
index 439bd8992b..a436d8fbf6 100644
--- a/src/mainboard/intel/kunimitsu/gpio.h
+++ b/src/mainboard/intel/kunimitsu/gpio.h
@@ -217,7 +217,7 @@ static const struct pad_config gpio_table[] = {
/* LANPHYC */ PAD_NC(GPD11, NONE),
};
-/* Early pad configuration in romstage. */
+/* Early pad configuration in bootblock. */
static const struct pad_config early_gpio_table[] = {
/* SRCCLKREQ2# */ PAD_CFG_NF(GPP_B7, NONE, DEEP, NF1), /* KEPLER */
/* SPI_WP_STATUS */ PAD_CFG_GPI_GPIO_DRIVER(GPP_C23, UP_20K, DEEP),
diff --git a/src/mainboard/intel/saddlebrook/gpio.h b/src/mainboard/intel/saddlebrook/gpio.h
index f60515b8ec..b012462875 100644
--- a/src/mainboard/intel/saddlebrook/gpio.h
+++ b/src/mainboard/intel/saddlebrook/gpio.h
@@ -245,7 +245,7 @@ static const struct pad_config gpio_table[] = {
/* LANPHYC */ PAD_CFG_NF(GPD11, NONE, DEEP, NF1),
};
-/* Early pad configuration in romstage. */
+/* Early pad configuration in bootblock. */
static const struct pad_config early_gpio_table[] = {
/* UART0_CTS# */ PAD_CFG_GPO(GPP_C11, 1, DEEP), /* EN_PP3300_KEPLER */
};
diff --git a/src/mainboard/starlabs/labtop/variants/tgl/gpio.c b/src/mainboard/starlabs/labtop/variants/tgl/gpio.c
index a541c0724b..81f6cb7d08 100644
--- a/src/mainboard/starlabs/labtop/variants/tgl/gpio.c
+++ b/src/mainboard/starlabs/labtop/variants/tgl/gpio.c
@@ -7,7 +7,7 @@
* using the stock BIOS and with coreboot.
*/
-/* Early pad configuration in romstage. */
+/* Early pad configuration in bootblock. */
const struct pad_config early_gpio_table[] = {
PAD_CFG_NF(GPP_C20, NONE, DEEP, NF1),
PAD_CFG_NF(GPP_C21, NONE, DEEP, NF1),
diff --git a/src/mainboard/system76/lemp9/gpio.h b/src/mainboard/system76/lemp9/gpio.h
index 6e9f481407..60cc7b638f 100644
--- a/src/mainboard/system76/lemp9/gpio.h
+++ b/src/mainboard/system76/lemp9/gpio.h
@@ -10,7 +10,7 @@
/* Name format: <pad name> / <net/pin name in schematics> */
-/* Early pad configuration in romstage. */
+/* Early pad configuration in bootblock. */
static const struct pad_config early_gpio_table[] = {
PAD_CFG_NF(GPP_C20, NONE, DEEP, NF1), /* UART2_RXD */
PAD_CFG_NF(GPP_C21, NONE, DEEP, NF1), /* UART2_TXD */