diff options
author | Maxim Polyakov <max.senia.poliak@gmail.com> | 2019-03-18 17:38:44 +0300 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-04-06 13:43:42 +0000 |
commit | 0220d1e46ae980ca7048061947a7843f1075f9e9 (patch) | |
tree | b7272836bdc1b5feebda9ed36c371b6f04bb3132 /src/device/pnp_device.c | |
parent | 0de6c5074451cd12a56f35dd922a3d03b6f0a00d (diff) |
soc/intel/skylake: Set FSP options for PEG port
FSP options list (for each PEG port):
- PegXEnable,
- PegXMaxLinkWidth,
- PegXMaxLinkSpeed,
- PegXPowerDownUnusedLanes,
- PegXGen3EqPh2Enable,
- PegXGen3EqPh3Method.
Add PegMaxLinkWidth to chip.h. This option overrides the number of
active lines from the devicetree.cb for each enabled PEG port (for
example for boards that use x4 instead of x16 lines in PEG0). If the
PegMaxLinkWidth is not defined, the port uses the maximum possible
number of lines.
To enable or disable the corresponding PEG root port you need to add
to the devicetree.cb:
device pci 01.0 on end # enable PEG0 root port
device pci 01.1 off end # do not configure PEG1
If PEG port is not defined in the devicetree, it will be disabled in
FSP.
It has been tested on ASRock H110M-DVS motherboard (Skylake i5-6600
CPU).
Change-Id: I23708f7060edf08739adf61fe61a419329907563
Signed-off-by: Maxim Polyakov <max.senia.poliak@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32045
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/device/pnp_device.c')
0 files changed, 0 insertions, 0 deletions