From 7909b88789027a54a9f62bd738fe6e49093c068b Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Mon, 19 Aug 2024 16:16:34 -0500 Subject: mb/google/volteer/var/drobit: Set UART GPIOs in bootblock Enables early serial console for debugging. TEST=build/boot drobit, verify console output available starting in bootblock on CPU UART (/dev/ttyUSB1) vs ramstage. Change-Id: If94eb8caca3469143433fef06b972050f886be6a Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/83995 Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer --- src/mainboard/google/volteer/variants/drobit/gpio.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mainboard/google/volteer') diff --git a/src/mainboard/google/volteer/variants/drobit/gpio.c b/src/mainboard/google/volteer/variants/drobit/gpio.c index f7ee4eefbf..f36b89c420 100644 --- a/src/mainboard/google/volteer/variants/drobit/gpio.c +++ b/src/mainboard/google/volteer/variants/drobit/gpio.c @@ -135,6 +135,11 @@ static const struct pad_config override_gpio_table[] = { /* Early pad configuration in bootblock */ static const struct pad_config early_gpio_table[] = { + /* C8 : UART0 RX */ + PAD_CFG_NF(GPP_C8, NONE, DEEP, NF1), + /* C9 : UART0 TX */ + PAD_CFG_NF(GPP_C9, NONE, DEEP, NF1), + /* A12 : SATAXPCIE1 ==> M2_SSD_PEDET */ PAD_CFG_NF(GPP_A12, NONE, DEEP, NF1), /* A13 : PMC_I2C_SCL ==> BT_DISABLE_L */ -- cgit v1.2.3