aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx/patches-4.19/301-fix-memory-map-wndr4700.patch
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2018-09-30 11:40:13 +0200
committerChristian Lamparter <chunkeey@gmail.com>2018-12-27 14:36:23 +0100
commit32141c183a28a55fd3288397348ca820b77265d3 (patch)
tree04e7b6b8c5978a6362a0c519a990ac0441c54a40 /target/linux/apm821xx/patches-4.19/301-fix-memory-map-wndr4700.patch
parent96d55f9fd990beed06b79a65100ef7c942dc125d (diff)
downloadupstream-32141c183a28a55fd3288397348ca820b77265d3.tar.gz
upstream-32141c183a28a55fd3288397348ca820b77265d3.tar.bz2
upstream-32141c183a28a55fd3288397348ca820b77265d3.zip
apm821xx: add linux 4.19 apm821xx patches
This patch updates the apm821xx target to use the 4.19 kernel. 4.19 ships with all the crypto4xx driver patches. Furthermore, the DW-DMA fix for the SATA controller has been backported from 4.20 and integrated. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/apm821xx/patches-4.19/301-fix-memory-map-wndr4700.patch')
-rw-r--r--target/linux/apm821xx/patches-4.19/301-fix-memory-map-wndr4700.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/apm821xx/patches-4.19/301-fix-memory-map-wndr4700.patch b/target/linux/apm821xx/patches-4.19/301-fix-memory-map-wndr4700.patch
new file mode 100644
index 0000000000..6eb04b2c25
--- /dev/null
+++ b/target/linux/apm821xx/patches-4.19/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);
+