mb/google/brya: Move early GPIO config earlier

The recent refactor of console UART GPIOs to mainboard's bootblock
caused brya boards to lose the first ~5 lines of the logs from
bootblock. Rename bootblock_mainboard_init to
bootblock_mainboard_early_init so that the UART pads will be ready
by the time the console is initialized.

BUG=b:184319828
TEST=First lines from report_platform.c are now seen in UART output

Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Change-Id: I4a4fadcc091bf9b1c9894f9afaf42baff63c73a3
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52062
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
This commit is contained in:
Tim Wawrzynczak 2021-04-02 12:11:08 -06:00 committed by Patrick Georgi
parent c556dffe98
commit 3b7b06dfbb
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
#include <baseboard/variants.h>
#include <bootblock_common.h>
void bootblock_mainboard_init(void)
void bootblock_mainboard_early_init(void)
{
const struct pad_config *pads;
size_t num;