mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Add kernel 5.15 for RPI4 support
This commit is contained in:
parent
e961d478cd
commit
df88a19bbd
638 changed files with 239907 additions and 0 deletions
|
@ -0,0 +1,40 @@
|
|||
From 1c70aaeb9d971400263ac73ce2dd0fb4cb53c22c Mon Sep 17 00:00:00 2001
|
||||
From: Phil Elwell <phil@raspberrypi.com>
|
||||
Date: Wed, 11 Nov 2020 17:08:33 +0000
|
||||
Subject: [PATCH 329/634] PCI: brcmstb: Restore initial fundamental reset
|
||||
|
||||
[1] replaced a single reset function with a pointer to one of two
|
||||
implementations, but also removed the call asserting the reset
|
||||
at the start of brcm_pcie_setup. Doing so breaks Raspberry Pis with
|
||||
VL805 XHCI controllers lacking dedicated SPI EEPROMs, which have been
|
||||
used for USB booting but then need to be reset so that the kernel
|
||||
can reconfigure them. The lack of a reset causes the firmware's loading
|
||||
of the EEPROM image to RAM to fail, breaking USB for the kernel.
|
||||
|
||||
See: https://www.raspberrypi.org/forums/viewtopic.php?p=1758157#p1758157
|
||||
|
||||
Fixes: 04356ac30771 ("PCI: brcmstb: Add bcm7278 PERST# support")
|
||||
|
||||
[1] 04356ac30771 ("PCI: brcmstb: Add bcm7278 PERST# support")
|
||||
|
||||
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
||||
---
|
||||
drivers/pci/controller/pcie-brcmstb.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/drivers/pci/controller/pcie-brcmstb.c b/drivers/pci/controller/pcie-brcmstb.c
|
||||
index 77967a37cbd9..d26844f03e25 100644
|
||||
--- a/drivers/pci/controller/pcie-brcmstb.c
|
||||
+++ b/drivers/pci/controller/pcie-brcmstb.c
|
||||
@@ -879,6 +879,8 @@ static int brcm_pcie_setup(struct brcm_pcie *pcie)
|
||||
|
||||
/* Reset the bridge */
|
||||
pcie->bridge_sw_init_set(pcie, 1);
|
||||
+ pcie->perst_set(pcie, 1);
|
||||
+
|
||||
usleep_range(100, 200);
|
||||
|
||||
/* Take the bridge out of reset */
|
||||
--
|
||||
2.33.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue