mb/google/puff: Set early GPIOs to enable bootblock console
Without the PCH UART GPIOs set early, there is no serial console output until ramstage. Add them to the early GPIOs for all puff variants. TEST=build/boot google/puff (wyvern) with serial console enabled, verify console output starts in bootblock. Change-Id: Ica0506b2b80e4fac0d3ca11b4cfdd128ce424b36 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78029 Reviewed-by: Nick Vaccaro <nvaccaro@google.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
6eb5db39d0
commit
8b126e8b72
11 changed files with 44 additions and 0 deletions
|
@ -94,6 +94,10 @@ static const struct pad_config early_gpio_table[] = {
|
|||
PAD_CFG_NF(GPP_B17, NONE, DEEP, NF1),
|
||||
/* B18 : H1_SLAVE_SPI_MOSI_R */
|
||||
PAD_CFG_NF(GPP_B18, NONE, DEEP, NF1),
|
||||
/* C8 : UART_PCH_RX_DEBUG_TX */
|
||||
PAD_CFG_NF(GPP_C8, NONE, DEEP, NF1),
|
||||
/* C9 : UART_PCH_TX_DEBUG_RX */
|
||||
PAD_CFG_NF(GPP_C9, NONE, DEEP, NF1),
|
||||
/* C14 : BT_DISABLE_L */
|
||||
PAD_CFG_GPO(GPP_C14, 0, DEEP),
|
||||
/* PCH_WP_OD */
|
||||
|
|
|
@ -131,6 +131,10 @@ static const struct pad_config early_gpio_table[] = {
|
|||
PAD_CFG_NF(GPP_B17, NONE, DEEP, NF1),
|
||||
/* B18 : H1_SLAVE_SPI_MOSI_R */
|
||||
PAD_CFG_NF(GPP_B18, NONE, DEEP, NF1),
|
||||
/* C8 : UART_PCH_RX_DEBUG_TX */
|
||||
PAD_CFG_NF(GPP_C8, NONE, DEEP, NF1),
|
||||
/* C9 : UART_PCH_TX_DEBUG_RX */
|
||||
PAD_CFG_NF(GPP_C9, NONE, DEEP, NF1),
|
||||
/* C14 : BT_DISABLE_L */
|
||||
PAD_CFG_GPO(GPP_C14, 0, DEEP),
|
||||
/* PCH_WP_OD */
|
||||
|
|
|
@ -94,6 +94,10 @@ static const struct pad_config early_gpio_table[] = {
|
|||
PAD_CFG_NF(GPP_B17, NONE, DEEP, NF1),
|
||||
/* B18 : H1_SLAVE_SPI_MOSI_R */
|
||||
PAD_CFG_NF(GPP_B18, NONE, DEEP, NF1),
|
||||
/* C8 : UART_PCH_RX_DEBUG_TX */
|
||||
PAD_CFG_NF(GPP_C8, NONE, DEEP, NF1),
|
||||
/* C9 : UART_PCH_TX_DEBUG_RX */
|
||||
PAD_CFG_NF(GPP_C9, NONE, DEEP, NF1),
|
||||
/* C14 : BT_DISABLE_L */
|
||||
PAD_CFG_GPO(GPP_C14, 0, DEEP),
|
||||
/* PCH_WP_OD */
|
||||
|
|
|
@ -94,6 +94,10 @@ static const struct pad_config early_gpio_table[] = {
|
|||
PAD_CFG_NF(GPP_B17, NONE, DEEP, NF1),
|
||||
/* B18 : H1_SLAVE_SPI_MOSI_R */
|
||||
PAD_CFG_NF(GPP_B18, NONE, DEEP, NF1),
|
||||
/* C8 : UART_PCH_RX_DEBUG_TX */
|
||||
PAD_CFG_NF(GPP_C8, NONE, DEEP, NF1),
|
||||
/* C9 : UART_PCH_TX_DEBUG_RX */
|
||||
PAD_CFG_NF(GPP_C9, NONE, DEEP, NF1),
|
||||
/* C14 : BT_DISABLE_L */
|
||||
PAD_CFG_GPO(GPP_C14, 0, DEEP),
|
||||
/* PCH_WP_OD */
|
||||
|
|
|
@ -122,6 +122,10 @@ static const struct pad_config early_gpio_table[] = {
|
|||
PAD_CFG_NF(GPP_B17, NONE, DEEP, NF1),
|
||||
/* B18 : H1_SLAVE_SPI_MOSI_R */
|
||||
PAD_CFG_NF(GPP_B18, NONE, DEEP, NF1),
|
||||
/* C8 : UART_PCH_RX_DEBUG_TX */
|
||||
PAD_CFG_NF(GPP_C8, NONE, DEEP, NF1),
|
||||
/* C9 : UART_PCH_TX_DEBUG_RX */
|
||||
PAD_CFG_NF(GPP_C9, NONE, DEEP, NF1),
|
||||
/* C14 : BT_DISABLE_L */
|
||||
PAD_CFG_GPO(GPP_C14, 0, DEEP),
|
||||
/* PCH_WP_OD */
|
||||
|
|
|
@ -94,6 +94,10 @@ static const struct pad_config early_gpio_table[] = {
|
|||
PAD_CFG_NF(GPP_B17, NONE, DEEP, NF1),
|
||||
/* B18 : H1_SLAVE_SPI_MOSI_R */
|
||||
PAD_CFG_NF(GPP_B18, NONE, DEEP, NF1),
|
||||
/* C8 : UART_PCH_RX_DEBUG_TX */
|
||||
PAD_CFG_NF(GPP_C8, NONE, DEEP, NF1),
|
||||
/* C9 : UART_PCH_TX_DEBUG_RX */
|
||||
PAD_CFG_NF(GPP_C9, NONE, DEEP, NF1),
|
||||
/* C14 : BT_DISABLE_L */
|
||||
PAD_CFG_GPO(GPP_C14, 0, DEEP),
|
||||
/* PCH_WP_OD */
|
||||
|
|
|
@ -134,6 +134,10 @@ static const struct pad_config early_gpio_table[] = {
|
|||
PAD_CFG_NF(GPP_B17, NONE, DEEP, NF1),
|
||||
/* B18 : H1_SLAVE_SPI_MOSI_R */
|
||||
PAD_CFG_NF(GPP_B18, NONE, DEEP, NF1),
|
||||
/* C8 : UART_PCH_RX_DEBUG_TX */
|
||||
PAD_CFG_NF(GPP_C8, NONE, DEEP, NF1),
|
||||
/* C9 : UART_PCH_TX_DEBUG_RX */
|
||||
PAD_CFG_NF(GPP_C9, NONE, DEEP, NF1),
|
||||
/* C14 : BT_DISABLE_L */
|
||||
PAD_CFG_GPO(GPP_C14, 0, DEEP),
|
||||
/* C20 : PCH_WP_OD */
|
||||
|
|
|
@ -94,6 +94,10 @@ static const struct pad_config early_gpio_table[] = {
|
|||
PAD_CFG_NF(GPP_B17, NONE, DEEP, NF1),
|
||||
/* B18 : H1_SLAVE_SPI_MOSI_R */
|
||||
PAD_CFG_NF(GPP_B18, NONE, DEEP, NF1),
|
||||
/* C8 : UART_PCH_RX_DEBUG_TX */
|
||||
PAD_CFG_NF(GPP_C8, NONE, DEEP, NF1),
|
||||
/* C9 : UART_PCH_TX_DEBUG_RX */
|
||||
PAD_CFG_NF(GPP_C9, NONE, DEEP, NF1),
|
||||
/* C14 : BT_DISABLE_L */
|
||||
PAD_CFG_GPO(GPP_C14, 0, DEEP),
|
||||
/* PCH_WP_OD */
|
||||
|
|
|
@ -94,6 +94,10 @@ static const struct pad_config early_gpio_table[] = {
|
|||
PAD_CFG_NF(GPP_B17, NONE, DEEP, NF1),
|
||||
/* B18 : H1_SLAVE_SPI_MOSI_R */
|
||||
PAD_CFG_NF(GPP_B18, NONE, DEEP, NF1),
|
||||
/* C8 : UART_PCH_RX_DEBUG_TX */
|
||||
PAD_CFG_NF(GPP_C8, NONE, DEEP, NF1),
|
||||
/* C9 : UART_PCH_TX_DEBUG_RX */
|
||||
PAD_CFG_NF(GPP_C9, NONE, DEEP, NF1),
|
||||
/* C14 : BT_DISABLE_L */
|
||||
PAD_CFG_GPO(GPP_C14, 0, DEEP),
|
||||
/* PCH_WP_OD */
|
||||
|
|
|
@ -156,6 +156,10 @@ static const struct pad_config early_gpio_table[] = {
|
|||
PAD_CFG_NF(GPP_B17, NONE, DEEP, NF1),
|
||||
/* B18 : H1_SLAVE_SPI_MOSI_R */
|
||||
PAD_CFG_NF(GPP_B18, NONE, DEEP, NF1),
|
||||
/* C8 : UART_PCH_RX_DEBUG_TX */
|
||||
PAD_CFG_NF(GPP_C8, NONE, DEEP, NF1),
|
||||
/* C9 : UART_PCH_TX_DEBUG_RX */
|
||||
PAD_CFG_NF(GPP_C9, NONE, DEEP, NF1),
|
||||
/* C14 : BT_DISABLE_L */
|
||||
PAD_CFG_GPO(GPP_C14, 0, DEEP),
|
||||
/* PCH_WP_OD */
|
||||
|
|
|
@ -94,6 +94,10 @@ static const struct pad_config early_gpio_table[] = {
|
|||
PAD_CFG_NF(GPP_B17, NONE, DEEP, NF1),
|
||||
/* B18 : H1_SLAVE_SPI_MOSI_R */
|
||||
PAD_CFG_NF(GPP_B18, NONE, DEEP, NF1),
|
||||
/* C8 : UART_PCH_RX_DEBUG_TX */
|
||||
PAD_CFG_NF(GPP_C8, NONE, DEEP, NF1),
|
||||
/* C9 : UART_PCH_TX_DEBUG_RX */
|
||||
PAD_CFG_NF(GPP_C9, NONE, DEEP, NF1),
|
||||
/* C14 : BT_DISABLE_L */
|
||||
PAD_CFG_GPO(GPP_C14, 0, DEEP),
|
||||
/* PCH_WP_OD */
|
||||
|
|
Loading…
Reference in a new issue