]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: brcmstb: Cleanup controller state before handover
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Thu, 14 Jan 2021 15:49:01 +0000 (16:49 +0100)
committerMatthias Brugger <mbrugger@suse.com>
Thu, 18 Feb 2021 10:56:25 +0000 (11:56 +0100)
commit85f3fddbcc2e8282f1c26dcef4684f59490d47ba
tree2aeac4021971847bdafe43eeb9308f9256835f88
parente3bbc1f74e05b194cfd2193f93f5c9310fbd3252
pci: brcmstb: Cleanup controller state before handover

Make sure we handover the PCIe controller in a clean state. Some of the
devices hanging from the PCIe bus might need to be properly reset
through #PERST in order for Linux to be able to initialize them.

This is specially important in order to properly initialize Raspberry Pi
4 B and 400's USB chip.

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
drivers/pci/pcie_brcmstb.c