]> git.baikalelectronics.ru Git - uboot.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)
commitb9c47f7b8cce51ab933ed52484148db461a26b30
tree2aeac4021971847bdafe43eeb9308f9256835f88
parent7df9928b778c36a8d60fc0ea0681aa1454616415
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