diff options
author | Michael Niewöhner <foss@mniewoehner.de> | 2020-12-21 03:46:58 +0100 |
---|---|---|
committer | Michael Niewöhner <foss@mniewoehner.de> | 2021-01-21 17:49:18 +0000 |
commit | 4bf70523b33757b539405cbe8413029980ec2dad (patch) | |
tree | 2c29e244d94328a7ae6e763a54f4d3ff6daf0eac /src/mainboard/google/drallion/bootblock.c | |
parent | 732e9e63826f1100953b5c91259e77f4f305d6af (diff) | |
download | coreboot-4bf70523b33757b539405cbe8413029980ec2dad.tar.xz |
mb/google/drallion: do early pad configuration in early bootstage
Do early pad configuration in early bootblock before console init, to
make the console work as early as possible. The board does not do any
other gpio configuration in bootblock, so this should not influence
behaviour in a negative way (e.g. breaking overrides).
Change-Id: I7dcf88d61c305f0598a0a79f8cfa46ef5009564b
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49419
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'src/mainboard/google/drallion/bootblock.c')
-rw-r--r-- | src/mainboard/google/drallion/bootblock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/google/drallion/bootblock.c b/src/mainboard/google/drallion/bootblock.c index 5bd5d029fd..2419a0084f 100644 --- a/src/mainboard/google/drallion/bootblock.c +++ b/src/mainboard/google/drallion/bootblock.c @@ -5,7 +5,7 @@ #include <soc/gpio.h> #include <variant/gpio.h> -static void early_config_gpio(void) +void bootblock_mainboard_early_init(void) { const struct pad_config *early_gpio_table; size_t num_gpios = 0; @@ -16,6 +16,5 @@ static void early_config_gpio(void) void bootblock_mainboard_init(void) { - early_config_gpio(); wilco_ec_early_init(); } |