diff options
author | Jon Murphy <jpmurphy@google.com> | 2022-02-16 06:34:39 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-02-24 21:38:18 +0000 |
commit | 9042427ea272fae974044deca64640fc67e9773d (patch) | |
tree | d2fc00dbf833403818eb57125fa7ce0f7cebc85b /src/mainboard/google/skyrim/bootblock.c | |
parent | 3a260ad8f15deddbac3fd37238be87d85797e053 (diff) |
mb/google/skyrim: Add stubs to configure GPIOs
BUG=b:214415401
TEST=builds
BRANCH=none
Signed-off-by: Jon Murphy <jpmurphy@google.com>
Change-Id: Ieeda9aa0c18b5befea67d2849bd4114da0c348a3
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62041
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/skyrim/bootblock.c')
-rw-r--r-- | src/mainboard/google/skyrim/bootblock.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/bootblock.c b/src/mainboard/google/skyrim/bootblock.c index dd4c1516b1..d1000d30b9 100644 --- a/src/mainboard/google/skyrim/bootblock.c +++ b/src/mainboard/google/skyrim/bootblock.c @@ -7,3 +7,12 @@ void bootblock_mainboard_early_init(void) { /* TODO: Perform mainboard initialization */ } + +void bootblock_mainboard_init(void) +{ + size_t num_gpios; + const struct soc_amd_gpio *gpios; + + variant_bootblock_gpio_table(&gpios, &num_gpios); + gpio_configure_pads(gpios, num_gpios); +} |