summaryrefslogtreecommitdiff
path: root/src/mainboard/google/guybrush/variants/baseboard/gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/guybrush/variants/baseboard/gpio.c')
-rw-r--r--src/mainboard/google/guybrush/variants/baseboard/gpio.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/google/guybrush/variants/baseboard/gpio.c b/src/mainboard/google/guybrush/variants/baseboard/gpio.c
index 6d5788d858..68c7d290ef 100644
--- a/src/mainboard/google/guybrush/variants/baseboard/gpio.c
+++ b/src/mainboard/google/guybrush/variants/baseboard/gpio.c
@@ -168,6 +168,11 @@ static const struct soc_amd_gpio bootblock_gpio_table[] = {
/* TODO: Fill bootblock gpio configuration */
};
+/* GPIO configuration for sleep */
+static const struct soc_amd_gpio sleep_gpio_table[] = {
+ /* TODO: Fill sleep gpio configuration */
+};
+
const struct soc_amd_gpio *__weak variant_base_gpio_table(size_t *size)
{
*size = ARRAY_SIZE(base_gpio_table);
@@ -184,3 +189,9 @@ const struct soc_amd_gpio *__weak variant_bootblock_gpio_table(size_t *size)
*size = ARRAY_SIZE(bootblock_gpio_table);
return bootblock_gpio_table;
}
+
+const __weak struct soc_amd_gpio *variant_sleep_gpio_table(size_t *size)
+{
+ *size = ARRAY_SIZE(sleep_gpio_table);
+ return sleep_gpio_table;
+}