diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2022-12-21 11:46:23 -0600 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2023-01-09 21:10:02 +0000 |
commit | af6029ba1a4b22c1f3fa4e1edbfa07c974f390df (patch) | |
tree | b4467d533d7e518990a9a2412206cb151843983d /src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h | |
parent | 3cd06cc427199309956b745cd04447948a1f9a82 (diff) | |
download | coreboot-af6029ba1a4b22c1f3fa4e1edbfa07c974f390df.tar.gz coreboot-af6029ba1a4b22c1f3fa4e1edbfa07c974f390df.tar.bz2 coreboot-af6029ba1a4b22c1f3fa4e1edbfa07c974f390df.zip |
mb/google/dedede: Add method to set GPIOs in romstage
Add method variant_romstage_gpio_table() with empty weak implementation
to allow variants to override as needed for touchscreen power
sequencing (to be implemented in a subsequent commit). Call method
in romstage to program any GPIOs the variant may need to set.
TEST=tested with rest of patch train
Change-Id: Ic216827a4b53d1d35913efca63a43d4672791c54
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71186
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h')
-rw-r--r-- | src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h index 53e740ca4859..edb2b07e3abf 100644 --- a/src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h +++ b/src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h @@ -14,6 +14,7 @@ const struct pad_config *baseboard_gpio_table(size_t *num); const struct pad_config *variant_early_gpio_table(size_t *num); const struct pad_config *variant_sleep_gpio_table(size_t *num); const struct pad_config *variant_override_gpio_table(size_t *num); +const struct pad_config *variant_romstage_gpio_table(size_t *num); enum s0ix_entry { S0IX_EXIT, |