From e1e6ff6648f5a0819a5b9429e787c1b6aacfec59 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Sat, 30 Nov 2019 20:57:11 +0100 Subject: apm821xx: add linux kernel 5.4 testing support This patch adds support for the linux kernel version 5.4 as an optional testing kernel. Signed-off-by: Christian Lamparter --- .../apm821xx/patches-5.4/301-fix-memory-map-wndr4700.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 target/linux/apm821xx/patches-5.4/301-fix-memory-map-wndr4700.patch (limited to 'target/linux/apm821xx/patches-5.4/301-fix-memory-map-wndr4700.patch') diff --git a/target/linux/apm821xx/patches-5.4/301-fix-memory-map-wndr4700.patch b/target/linux/apm821xx/patches-5.4/301-fix-memory-map-wndr4700.patch new file mode 100644 index 0000000000..6eb04b2c25 --- /dev/null +++ b/target/linux/apm821xx/patches-5.4/301-fix-memory-map-wndr4700.patch @@ -0,0 +1,14 @@ +--- a/arch/powerpc/platforms/4xx/pci.c ++++ b/arch/powerpc/platforms/4xx/pci.c +@@ -1905,9 +1905,9 @@ static void __init ppc4xx_configure_pcie + * if it works + */ + out_le32(mbase + PECFG_PIM0LAL, 0x00000000); +- out_le32(mbase + PECFG_PIM0LAH, 0x00000000); ++ out_le32(mbase + PECFG_PIM0LAH, 0x00000008); + out_le32(mbase + PECFG_PIM1LAL, 0x00000000); +- out_le32(mbase + PECFG_PIM1LAH, 0x00000000); ++ out_le32(mbase + PECFG_PIM1LAH, 0x0000000c); + out_le32(mbase + PECFG_PIM01SAH, 0xffff0000); + out_le32(mbase + PECFG_PIM01SAL, 0x00000000); + -- cgit v1.2.3