soc/intel/elkhartlake: Make PCIe root port speed limit configurable
commitfd4f8911c12cb28467054eb06896bae1e0337df0
authorMario Scheithauer <mario.scheithauer@siemens.com>
Fri, 17 Mar 2023 08:58:56 +0000 (17 09:58 +0100)
committerLean Sheng Tan <sheng.tan@9elements.com>
Tue, 21 Mar 2023 11:18:11 +0000 (21 11:18 +0000)
treeb3d7dc70aa8448a6d76f4c10f1686be5edaadbca
parent1af4b289f06b6f8b9eb14b4754bedd3fbce944bf
soc/intel/elkhartlake: Make PCIe root port speed limit configurable

In cases where there are limitations on the connected device behind the
PCIe root port it can be necessary to limit the speed. The FSP parameter
'PcieRpPcieSpeed' allows to set the speed limit.

This patch provides a chip config so that this FSP parameter can be set
as needed in the devicetree on mainboard level.

Change-Id: I9fc24de1682279e4ae4c090147a6ef7995b441bc
Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73766
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
src/soc/intel/elkhartlake/chip.h
src/soc/intel/elkhartlake/fsp_params.c