mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
15a14cf166
The QorIQ LS1012A processor, optimized for battery-backed or USB-powered, integrates a single ARM Cortex-A53 core with a hardware packet forwarding engine and high-speed interfaces to deliver line-rate networking performance. QorIQ LS1012A Reference Design System (LS1012ARDB) is a high-performance development platform, with a complete debugging environment. The LS1012ARDB board supports the QorIQ LS1012A processor and is optimized to support the high-bandwidth DDR3L memory and a full complement of high-speed SerDes ports. LEDE/OPENWRT will auto strip executable program file while make. So we need select CONFIG_NO_STRIP=y while make menuconfig to avoid the ppfe network fiemware be destroyed, then run make to build ls1012ardb firmware. The fsl-quadspi flash with jffs2 fs is unstable and arise some failed message. This issue have noticed the IP owner for investigate, hope he can solve it earlier. So the ls1012ardb now also provide a xx-firmware.ext4.bin as default firmware, and the uboot bootcmd will run wrtboot_ext4rfs for "rootfstype=ext4" bootargs. Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
From 5d661761fd2354e4f976c83143a1bf7c1ecad766 Mon Sep 17 00:00:00 2001
|
|
From: Yangbo Lu <yangbo.lu@nxp.com>
|
|
Date: Tue, 20 Sep 2016 16:07:10 +0800
|
|
Subject: [PATCH 115/115] PCI: layerscape: call dw_pcie_setup_rc() in host
|
|
initialization
|
|
|
|
A previous patch moved some Root Complex programming from
|
|
dw_pcie_host_init() to dw_pcie_setup_rc() where it belongs,
|
|
while the pci-layerscape driver didn't call dw_pcie_setup_rc()
|
|
anywhere after that. This patch is to add dw_pcie_setup_rc()
|
|
calling in layerscape host initialization to fix ls1012a pci
|
|
issue caused by that patch.
|
|
|
|
Fixes: c49b76f3c613("PCI: designware: Move Root Complex setup
|
|
code to dw_pcie_setup_rc()")
|
|
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
|
|
---
|
|
drivers/pci/host/pci-layerscape.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/pci/host/pci-layerscape.c
|
|
+++ b/drivers/pci/host/pci-layerscape.c
|
|
@@ -148,6 +148,7 @@ static void ls_pcie_host_init(struct pci
|
|
{
|
|
struct ls_pcie *pcie = to_ls_pcie(pp);
|
|
|
|
+ dw_pcie_setup_rc(pp);
|
|
iowrite32(1, pcie->dbi + PCIE_DBI_RO_WR_EN);
|
|
ls_pcie_fix_class(pcie);
|
|
ls_pcie_clear_multifunction(pcie);
|