OSDN Git Service

apm821xx: add support for kernel 5.15 for testing
[immortalwrt/immortalwrt.git] / target / linux / apm821xx / patches-5.15 / 301-fix-memory-map-wndr4700.patch
1 --- a/arch/powerpc/platforms/4xx/pci.c
2 +++ b/arch/powerpc/platforms/4xx/pci.c
3 @@ -1902,9 +1902,9 @@ static void __init ppc4xx_configure_pcie
4                  * if it works
5                  */
6                 out_le32(mbase + PECFG_PIM0LAL, 0x00000000);
7 -               out_le32(mbase + PECFG_PIM0LAH, 0x00000000);
8 +               out_le32(mbase + PECFG_PIM0LAH, 0x00000008);
9                 out_le32(mbase + PECFG_PIM1LAL, 0x00000000);
10 -               out_le32(mbase + PECFG_PIM1LAH, 0x00000000);
11 +               out_le32(mbase + PECFG_PIM1LAH, 0x0000000c);
12                 out_le32(mbase + PECFG_PIM01SAH, 0xffff0000);
13                 out_le32(mbase + PECFG_PIM01SAL, 0x00000000);
14