git: 11b5b9e8a520 - main - Add delay to have things settle.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 07 Jan 2023 07:44:46 UTC
The branch main has been updated by ganbold:
URL: https://cgit.FreeBSD.org/src/commit/?id=11b5b9e8a520e6ebc5c10c808566e1d08d801990
commit 11b5b9e8a520e6ebc5c10c808566e1d08d801990
Author: Søren Schmidt <sos@FreeBSD.org>
AuthorDate: 2023-01-07 07:42:44 +0000
Commit: Ganbold Tsagaankhuu <ganbold@FreeBSD.org>
CommitDate: 2023-01-07 07:42:44 +0000
Add delay to have things settle.
---
sys/arm64/rockchip/rk3568_pcie.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sys/arm64/rockchip/rk3568_pcie.c b/sys/arm64/rockchip/rk3568_pcie.c
index 36c4d516e138..7626cfb10015 100644
--- a/sys/arm64/rockchip/rk3568_pcie.c
+++ b/sys/arm64/rockchip/rk3568_pcie.c
@@ -212,6 +212,9 @@ rk3568_pcie_init_soc(device_t dev)
if ((err = pci_dw_init(dev)))
return (ENXIO);
+ /* Delay to have things settle */
+ DELAY(100000);
+
/* Enable all MSG interrupts */
bus_write_4(sc->apb_res, PCIE_CLIENT_INTR_MASK_MSG_RX, 0x7fff0000);