summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2020-08-19 15:57:07 +0200
committerStefan Roese <sr@denx.de>2020-08-31 14:45:53 +0200
commit828d32621686aec593076d16445d39b9b8d49c05 (patch)
tree8268dbb7582a30ca52526cb87c13be6379d91846 /arch
parent563b85bd88772c8949d10f7fa8e39a20280b1aac (diff)
arm64: a37xx: pci: Assert PERST# signal when unloading driver
This change ensures that PCIe card is put into reset state when U-Boot stops using it. DM_FLAG_OS_PREPARE ensures that U-Boot executes driver's remove callback prior booting Linux kernel. Linux kernel pci-aardvark driver needs to reset PCIe card via PERST# signal prior initializing it. If it does not issue reset then some PCIe cards (specially Compex WiFi cards) are not detected at all. Putting PCIe card into reset state prior booting Linux kernel would ensure that card would be properly reset at time when Linux kernel starts initializing pci-aardvark driver. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Konstantin Porotchkin <kostap@marvell.com> Tested-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions