summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2020-12-21 03:46:58 +0100
committerMichael Niewöhner <foss@mniewoehner.de>2021-01-16 08:23:51 +0000
commite31bfef2b0631ec6e8ab5e659a64adcaca200de3 (patch)
tree40e35a8709534ddfdb13c3f39eb08264dc14ec22
parent2cc5bcbf7f80d48950da90dd142a931a55392cc0 (diff)
downloadcoreboot-e31bfef2b0631ec6e8ab5e659a64adcaca200de3.tar.xz
mb/system76/lemp9: 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: Ie122a441145383b820d96e32ce1581dfc27fa57b Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49418 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Crawford <tcrawford@system76.com> Reviewed-by: Jeremy Soller <jeremy@system76.com>
-rw-r--r--src/mainboard/system76/lemp9/bootblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/system76/lemp9/bootblock.c b/src/mainboard/system76/lemp9/bootblock.c
index 2b673021b5..fd6070c06b 100644
--- a/src/mainboard/system76/lemp9/bootblock.c
+++ b/src/mainboard/system76/lemp9/bootblock.c
@@ -4,7 +4,7 @@
#include <gpio.h>
#include "gpio.h"
-void bootblock_mainboard_init(void)
+void bootblock_mainboard_early_init(void)
{
gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table));
}