diff options
author | Pali Rohár <pali@kernel.org> | 2020-12-23 16:07:08 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2020-12-28 09:42:06 +0100 |
commit | 0eb0eb4ab225fd0ffb3f63429dba8d4fb82cb71c (patch) | |
tree | 2dcb7c358d96f2f40083cfefda53523a60a42124 /api | |
parent | ce040932b569591f2907e246b771cd632eef52e7 (diff) | |
download | u-boot-0eb0eb4ab225fd0ffb3f63429dba8d4fb82cb71c.zip u-boot-0eb0eb4ab225fd0ffb3f63429dba8d4fb82cb71c.tar.gz u-boot-0eb0eb4ab225fd0ffb3f63429dba8d4fb82cb71c.tar.bz2 |
Revert "arm64: a37xx: pci: Assert PERST# signal when unloading driver"
This reverts commit 828d32621686aec593076d16445d39b9b8d49c05.
This change revers code which asserting PERST# signal when unloading
driver. Driver's remove callback is still there as it is used for other
functionality.
Asserting PERST# signal prior booting kernel is causing that A3720 boards
(Turris MOX and Espressobin) with stable Linux kernel versions 4.14 and
4.19 are not able to detect some PCIe cards (e.g. Compex WLE200 and WLE900)
and anymore. When PERST# signal is not asserted these cards are detected
correctly. As this is regression for existing stable Linux kernel versions
revert this problematic change in U-Boot.
To make cards working with OpenWRT 4.14 kernel it is needed to disable link
training prior booting kernel, which is already done in driver's remove
callback.
Described issue is in Linux kernel pci aardvark driver which is (hopefully)
fixed in latest upstream versions. Latest upstream versions should be able
to initialize PCIe bus and detects cards independently of the link training
and PERST# signal state.
So with this change, U-Boot on A3720 boards should be able to boot OpenWRT
4.14 kernel, stable 4.14 and 4.19 kernels and also latest mainline kernels.
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions