1
0
Fork 0

MIPS: BCM63XX: don't write to the chipid register on reboot

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>
hifive-unleashed-5.1
Maxime Bizon 2012-07-13 07:46:04 +00:00 committed by John Crispin
parent 64eaea4a84
commit 6d59180591
1 changed files with 3 additions and 0 deletions

View File

@ -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;