mb/google/poppy: Do not let FSP-S init UART 0
FSP-S configures the GPIOs for enabled SerialIO devices. However, Poppy
boards only enable UART 0 because it's function 0 of PCI device 30, and
the PCI specification requires that function 0 of multifunction devices
be implemented if other functions are implemented as well.
Nautilus got remedied in commit 8a1f095e50
(mb/google/poppy/variants/nautilus: Update camera power enable GPIOs) by
using `PchSerialIoSkipInit` for UART 0, which tells FSP to not touch the
SerialIO device. This way, it remains enabled and the GPIO settings will
not be overwritten by FSP.
However, not all variants do this, but use some UART 0 pads as GPIOs. To
prevent any issues, configure UART 0 as `PchSerialIoSkipInit` on all the
variants.
Change-Id: I7e3a61769ef9e3b348ce84c663f67d3c4c5d9485
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55236
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
481661e313
commit
085649440b
|
@ -236,7 +236,7 @@ chip soc/intel/skylake
|
|||
[PchSerialIoIndexI2C5] = PchSerialIoPci,
|
||||
[PchSerialIoIndexSpi0] = PchSerialIoDisabled,
|
||||
[PchSerialIoIndexSpi1] = PchSerialIoDisabled,
|
||||
[PchSerialIoIndexUart0] = PchSerialIoPci,
|
||||
[PchSerialIoIndexUart0] = PchSerialIoSkipInit,
|
||||
[PchSerialIoIndexUart1] = PchSerialIoDisabled,
|
||||
[PchSerialIoIndexUart2] = PchSerialIoSkipInit,
|
||||
}"
|
||||
|
|
|
@ -256,7 +256,7 @@ chip soc/intel/skylake
|
|||
[PchSerialIoIndexI2C5] = PchSerialIoDisabled,
|
||||
[PchSerialIoIndexSpi0] = PchSerialIoPci,
|
||||
[PchSerialIoIndexSpi1] = PchSerialIoPci,
|
||||
[PchSerialIoIndexUart0] = PchSerialIoPci,
|
||||
[PchSerialIoIndexUart0] = PchSerialIoSkipInit,
|
||||
[PchSerialIoIndexUart1] = PchSerialIoDisabled,
|
||||
[PchSerialIoIndexUart2] = PchSerialIoSkipInit,
|
||||
}"
|
||||
|
|
|
@ -217,7 +217,7 @@ chip soc/intel/skylake
|
|||
[PchSerialIoIndexI2C5] = PchSerialIoPci,
|
||||
[PchSerialIoIndexSpi0] = PchSerialIoPci,
|
||||
[PchSerialIoIndexSpi1] = PchSerialIoDisabled,
|
||||
[PchSerialIoIndexUart0] = PchSerialIoPci,
|
||||
[PchSerialIoIndexUart0] = PchSerialIoSkipInit,
|
||||
[PchSerialIoIndexUart1] = PchSerialIoDisabled,
|
||||
[PchSerialIoIndexUart2] = PchSerialIoSkipInit,
|
||||
}"
|
||||
|
|
|
@ -237,7 +237,7 @@ chip soc/intel/skylake
|
|||
[PchSerialIoIndexI2C5] = PchSerialIoPci,
|
||||
[PchSerialIoIndexSpi0] = PchSerialIoDisabled,
|
||||
[PchSerialIoIndexSpi1] = PchSerialIoDisabled,
|
||||
[PchSerialIoIndexUart0] = PchSerialIoPci,
|
||||
[PchSerialIoIndexUart0] = PchSerialIoSkipInit,
|
||||
[PchSerialIoIndexUart1] = PchSerialIoDisabled,
|
||||
[PchSerialIoIndexUart2] = PchSerialIoSkipInit,
|
||||
}"
|
||||
|
|
Loading…
Reference in New Issue