mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
674af9c1f6
Update layerscape u-boot package to LSDK-21.08 and drop patches which
are no longer needed.
The new env variable 'fsl_bootcmd_mcinitcmd_set' is needed to protect
the configured bootcmd and mc_init values. See [1] for more
informations.
[1] b62c174e86
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
From 089b90b11008ec95a56da12e31d11e3f31a9bb26 Mon Sep 17 00:00:00 2001
|
|
From: Martin Schiller <ms@dev.tdt.de>
|
|
Date: Wed, 17 Nov 2021 07:29:55 +0100
|
|
Subject: [PATCH] board: ls1046ardb: force PCI device enumeration
|
|
|
|
Commit 045ecf899252 ("configs: enable DM_ETH support for LS1046ARDB")
|
|
resulted in the PCI bus no longer being implicitly enumerated.
|
|
|
|
However, this is necessary for the fdt pcie fixups to work.
|
|
|
|
Therefore, similar to commit 8b6558bd4187 ("board: ls1088ardb:
|
|
transition to DM_ETH"), pci_init() is now called in the board_init()
|
|
routine when CONFIG_DM_ETH is active.
|
|
|
|
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
|
|
CC: Priyanka Jain <priyanka.jain@nxp.com>
|
|
---
|
|
board/freescale/ls1046ardb/ls1046ardb.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
--- a/board/freescale/ls1046ardb/ls1046ardb.c
|
|
+++ b/board/freescale/ls1046ardb/ls1046ardb.c
|
|
@@ -88,6 +88,10 @@ int board_init(void)
|
|
ppa_init();
|
|
#endif
|
|
|
|
+#if !defined(CONFIG_SYS_EARLY_PCI_INIT) && defined(CONFIG_DM_ETH)
|
|
+ pci_init();
|
|
+#endif
|
|
+
|
|
/* invert AQR105 IRQ pins polarity */
|
|
out_be32(&scfg->intpcr, AQR105_IRQ_MASK);
|
|
|