diff options
author | Kevin Chiu <kevin.chiu@quanta.corp-partner.google.com> | 2020-05-01 20:59:28 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-05-02 17:07:16 +0000 |
commit | 8c4ad5b4a56769327c3da80c57091f23c24016d7 (patch) | |
tree | de45c88b1f9503c8fddddbd68566fc020b6ff312 /src/mainboard/google/kahlee/bootblock | |
parent | 9d821fa1d12ccdb8e7816cab14ef5abdc8143f7a (diff) |
mainboard/google/kahlee: Add hook for early wlan rst gpio init
Base on the grunt board schematic, gpio70 is an alternative way for wlan rst.
Add hook for variants to override default state.
BUG=b:154357210,b:154848243
BRANCH=master
TEST=emerge-grunt coreboot
Signed-off-by: Kevin Chiu <Kevin.Chiu@quantatw.com>
Change-Id: Ic3f1c016357dd5090e6adedf96e7593abff29a0c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40944
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google/kahlee/bootblock')
-rw-r--r-- | src/mainboard/google/kahlee/bootblock/bootblock.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/kahlee/bootblock/bootblock.c b/src/mainboard/google/kahlee/bootblock/bootblock.c index 613b35b41e..338edfd62c 100644 --- a/src/mainboard/google/kahlee/bootblock/bootblock.c +++ b/src/mainboard/google/kahlee/bootblock/bootblock.c @@ -17,6 +17,9 @@ void bootblock_mainboard_early_init(void) /* Enable the EC as soon as we have visibility */ mainboard_ec_init(); + gpios = variant_wlan_rst_early_gpio_table(&num_gpios); + program_gpios(gpios, num_gpios); + gpios = variant_early_gpio_table(&num_gpios); program_gpios(gpios, num_gpios); } |