Attention is currently required from: Fred Reitberger, Jason Glenesk.
Hello Fred Reitberger, Jason Glenesk, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/82106?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed: Verified+1 by build bot (Jenkins)
Change subject: mb/amd/birman: add function to update MPIO config in devicetree ......................................................................
mb/amd/birman: add function to update MPIO config in devicetree
Phoenix 2 has less PCIe lanes than Phoenix, so some of the lane end numbers need to be adjusted to take that into account. When the Kconfig options WLAN01 or WWAN01 are set, either the WLAN or the WWAN card uses both PICe lanes that are available for those two devices, so the MPIO descriptor information the devicetree needs to be updated accordingly and the bridge to the PCIe port that doesn't have any lane left needs to be disabled. Two other PCIe devices will be disabled when the corresponding Kconfig options ENABLE_EVAL_CARD and DISABLE_DT_M2 have the value that results in the device being disabled via some GPIO driven by the EC. Since the code has paths and names specific to the MPIO stub, include the update_devicetree_phoenix_opensil.c file depending on whether CONFIG_SOC_AMD_OPENSIL_STUB is selected and not depending on whether CONFIG_BOARD_AMD_BIRMAN_PHOENIX_OPENSIL is selected.
Signed-off-by: Felix Held felix-coreboot@felixheld.de Change-Id: I23c14cc03980ea1e39f7e5aec551b975c237e487 --- M src/mainboard/amd/birman/Makefile.mk M src/mainboard/amd/birman/mainboard.c A src/mainboard/amd/birman/update_devicetree.h A src/mainboard/amd/birman/update_devicetree_phoenix_opensil.c 4 files changed, 58 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/06/82106/2