diff options
author | Luka Perkov <luka@openwrt.org> | 2015-04-11 10:28:11 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2015-04-11 10:28:11 +0000 |
commit | adb7aa14be1321e4ee57b2564edeb558d7eedcda (patch) | |
tree | 2c400ab098c2feb27df4f712e4805fef7969ff56 /target/linux/brcm47xx/patches-3.14/144-make-reboot-more-reliable.patch | |
parent | 29656719bb515e8d18f1c1ac7d2dc7d82719104f (diff) | |
download | master-187ad058-adb7aa14be1321e4ee57b2564edeb558d7eedcda.tar.gz master-187ad058-adb7aa14be1321e4ee57b2564edeb558d7eedcda.tar.bz2 master-187ad058-adb7aa14be1321e4ee57b2564edeb558d7eedcda.zip |
brcm47xx: drop 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45374 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-3.14/144-make-reboot-more-reliable.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-3.14/144-make-reboot-more-reliable.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/target/linux/brcm47xx/patches-3.14/144-make-reboot-more-reliable.patch b/target/linux/brcm47xx/patches-3.14/144-make-reboot-more-reliable.patch deleted file mode 100644 index 3e1a4bb56a..0000000000 --- a/target/linux/brcm47xx/patches-3.14/144-make-reboot-more-reliable.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 26db431400c336c4cc658cb4888bab18d254c64a Mon Sep 17 00:00:00 2001 -From: Hauke Mehrtens <hauke@hauke-m.de> -Date: Sat, 9 Aug 2014 00:00:09 +0200 -Subject: [PATCH] MIPS: BCM47XX: fix reboot problem on BCM4705/BCM4785 - -This adds some code based on code from the Broadcom GPL tar to fix the -reboot problems on BCM4705/BCM4785. I tried rebooting my device for ~10 -times and have never seen a problem. This reverts the changes in the -previous commit and adds the real fix as suggested by RafaĆ. - -Setting bit 22 in Reg 22, sel 4 puts the BIU (Bus Interface Unit) into -async mode. - -The previous try was this: -commit 316cad5c1d4daee998cd1f83ccdb437f6f20d45c -Author: Hauke Mehrtens <hauke@hauke-m.de> -Date: Mon Jul 28 23:53:57 2014 +0200 - - MIPS: BCM47XX: make reboot more relaiable - -Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> ---- a/arch/mips/bcm47xx/setup.c -+++ b/arch/mips/bcm47xx/setup.c -@@ -59,7 +59,16 @@ static void bcm47xx_machine_restart(char - switch (bcm47xx_bus_type) { - #ifdef CONFIG_BCM47XX_SSB - case BCM47XX_BUS_TYPE_SSB: -+ if (bcm47xx_bus.ssb.chip_id == 0x4785) -+ write_c0_diag4(1 << 22); - ssb_watchdog_timer_set(&bcm47xx_bus.ssb, 1); -+ if (bcm47xx_bus.ssb.chip_id == 0x4785) { -+ __asm__ __volatile__( -+ ".set\tmips3\n\t" -+ "sync\n\t" -+ "wait\n\t" -+ ".set\tmips0"); -+ } - break; - #endif - #ifdef CONFIG_BCM47XX_BCMA |