diff options
author | Ben Dooks <[email protected]> | 2022-03-18 15:24:30 +0000 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2022-03-21 15:19:26 -0500 |
commit | a382c757ec5ef83137a86125f43a4c43dc2ab50b (patch) | |
tree | d9781755ecc840886a5f1ce3fc2293aea1fb820d /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | cf18fce4ed5c87def7d95554bfc864951b793e4c (diff) |
PCI: fu740: Force 2.5GT/s for initial device probe
The fu740 PCIe core does not probe any devices on the SiFive Unmatched
board without this fix (or having U-Boot explicitly start the PCIe via
either boot-script or user command). The fix is to start the link at
2.5GT/s speeds and once the link is up then change the maximum speed back
to the default.
The U-Boot driver claims to set the link-speed to 2.5GT/s to get the probe
to work (and U-Boot does print link up at 2.5GT/s) in the following code:
https://source.denx.de/u-boot/u-boot/-/blob/master/drivers/pci/pcie_dw_sifive.c?id=v2022.01#L271
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ben Dooks <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions