diff options
author | Mathew King <mathewk@chromium.org> | 2021-01-26 16:08:14 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-02-06 09:06:30 +0000 |
commit | 10dd775ae3b9fa7c03a267f311bd61288417dc53 (patch) | |
tree | da8cbcb1d2f37b2823d3f1d3c565909c9cc106a4 /src/mainboard/google/guybrush/bootblock.c | |
parent | 30cca6ca2ad92c44104fc5a1f261356b038abe20 (diff) | |
download | coreboot-10dd775ae3b9fa7c03a267f311bd61288417dc53.tar.xz |
mb/google/guybrush: Add stubs to configure GPIOs
BUG=b:175143925
TEST=builds
Signed-off-by: Mathew King <mathewk@chromium.org>
Change-Id: I5afd2df396ba41f7d25fa7ff6879b7c1f82f438c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49954
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/google/guybrush/bootblock.c')
-rw-r--r-- | src/mainboard/google/guybrush/bootblock.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainboard/google/guybrush/bootblock.c b/src/mainboard/google/guybrush/bootblock.c index dd4c1516b1..d7a30b0d11 100644 --- a/src/mainboard/google/guybrush/bootblock.c +++ b/src/mainboard/google/guybrush/bootblock.c @@ -5,5 +5,9 @@ void bootblock_mainboard_early_init(void) { - /* TODO: Perform mainboard initialization */ + size_t num_gpios; + const struct soc_amd_gpio *gpios; + + gpios = variant_bootblock_gpio_table(&num_gpios); + program_gpios(gpios, num_gpios); } |