aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Wojtas <mw@FreeBSD.org>2021-05-14 08:39:46 +0000
committerMarcin Wojtas <mw@FreeBSD.org>2021-05-14 08:50:17 +0000
commitf55bd0e5798dd17251302f73904da76bdfd257b9 (patch)
treea3328247e1b5981ee764e2bbd81996f23519aa8f
parent1f84b3a247bf4c0e584e36576a20dc120def1214 (diff)
qoriq_dw_pci: disable LS1028A support
Enabled driver initialization causes an abort on the NXP LS1028ARDB platform (without any external endpoints connected). Temporarily disable qoriq_dw_pci probe, so that to allow successful booting of the OS. Submitted by: Lukasz Hajec <lha@semihalf.com> Obtained from: Semihalf Sponsored by: Alstom Group Differential Revision: https://reviews.freebsd.org/D30229
-rw-r--r--sys/arm64/qoriq/qoriq_dw_pci.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/arm64/qoriq/qoriq_dw_pci.c b/sys/arm64/qoriq/qoriq_dw_pci.c
index 424a030e094c..4d0c7928fc4c 100644
--- a/sys/arm64/qoriq/qoriq_dw_pci.c
+++ b/sys/arm64/qoriq/qoriq_dw_pci.c
@@ -101,7 +101,13 @@ static struct qoriq_dw_pci_cfg ls2028_cfg = {
/* Compatible devices. */
static struct ofw_compat_data compat_data[] = {
{"fsl,ls1012a-pcie", (uintptr_t)&ls1012_cfg},
+ /*
+ * XXX: On LS1028ARDB attaching this driver causes external abort.
+ * Disable it for now.
+ */
+#ifdef notyet
{"fsl,ls1028a-pcie", (uintptr_t)&ls2028_cfg},
+#endif
{"fsl,ls1043a-pcie", (uintptr_t)&ls1043_cfg},
{"fsl,ls1046a-pcie", (uintptr_t)&ls1012_cfg},
{"fsl,ls2080a-pcie", (uintptr_t)&ls2080_cfg},