mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
15faf389ad
This patch updates the apm821xx target to use the 4.14 kernel. 4.14 finally ships with a driver for the WNDR4700's tc654 fan controller. The custom driver is deprecated in favor of the upstream driver and the thermal cooling definitions in the DTS are updated. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
15 lines
554 B
Diff
15 lines
554 B
Diff
--- 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);
|
|
|