Skip to content

Commit

Permalink
MIPS: BCM63XX: don't write to the chipid register on reboot
Browse files Browse the repository at this point in the history
While harmless, it is bad style to do so.

Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Patchwork: http://patchwork.linux-mips.org/patch/4092/
Signed-off-by: John Crispin <blogic@openwrt.org>
  • Loading branch information
Maxime Bizon authored and John Crispin committed Aug 24, 2012
1 parent 64eaea4 commit 6d59180
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/mips/bcm63xx/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ void bcm63xx_machine_reboot(void)
}

for (i = 0; i < 2; i++) {
if (!perf_regs[i])
break;

reg = bcm_perf_readl(perf_regs[i]);
if (BCMCPU_IS_6348()) {
reg &= ~EXTIRQ_CFG_MASK_ALL_6348;
Expand Down

0 comments on commit 6d59180

Please sign in to comment.