diff options
author | Michael Niewöhner <foss@mniewoehner.de> | 2020-12-21 17:09:08 +0100 |
---|---|---|
committer | Michael Niewöhner <foss@mniewoehner.de> | 2021-01-21 17:47:53 +0000 |
commit | 732e9e63826f1100953b5c91259e77f4f305d6af (patch) | |
tree | 5f5a3d40e034a323883ced665a610c6ee17f3ad4 /src/mainboard/google/octopus/bootblock.c | |
parent | 8b0636e06f0e5e20022baaa57625c7c8d9c1457c (diff) |
mb/google/octopus: do LPC/eSPI pad configuration at board-level
Do LPC/eSPI pad configuration at board-level to match other platforms by
adding an appropriate early gpio table in the bootblock.
The soc code gets dropped in CB:49410.
Change-Id: Ie33bae481f430a1c4410a0a4e2b2a34a3e78adaa
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49411
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/octopus/bootblock.c')
-rw-r--r-- | src/mainboard/google/octopus/bootblock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/octopus/bootblock.c b/src/mainboard/google/octopus/bootblock.c index 0add4535b2..e0f037f4a9 100644 --- a/src/mainboard/google/octopus/bootblock.c +++ b/src/mainboard/google/octopus/bootblock.c @@ -3,7 +3,6 @@ #include <baseboard/variants.h> #include <bootblock_common.h> #include <ec/ec.h> -#include <intelblocks/lpc_lib.h> #include <soc/gpio.h> void bootblock_mainboard_init(void) @@ -11,7 +10,8 @@ void bootblock_mainboard_init(void) const struct pad_config *pads, *override_pads; size_t num, override_num; - lpc_configure_pads(); + pads = mainboard_early_bootblock_gpio_table(&num); + gpio_configure_pads(pads, num); /* * Perform EC init before configuring GPIOs. This is because variant |