summaryrefslogtreecommitdiff
path: root/src/arch/arm64/ramdetect.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2024-04-29 20:24:51 +0200
committerFelix Held <felix-coreboot@felixheld.de>2024-05-15 15:01:55 +0000
commitb43accd233668359a99bbbe861f4de1a789576aa (patch)
tree84e9eb0b42f080f645e08e7847f81451f7c871cc /src/arch/arm64/ramdetect.c
parentd7158c81495e6fd7ae766a08669184798008308f (diff)
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 is specific to the openSIL case, only include it in the build in the CONFIG_BOARD_AMD_BIRMAN_PHOENIX_OPENSIL case. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I23c14cc03980ea1e39f7e5aec551b975c237e487 Reviewed-on: https://review.coreboot.org/c/coreboot/+/82106 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com>
Diffstat (limited to 'src/arch/arm64/ramdetect.c')
0 files changed, 0 insertions, 0 deletions