Skip to contentSkip to conversation

MIPS: BCM47XX: Remove the needless check with the 1074K

PATCH Applied Wei Li 3 participants 3 messages Sep 23, 2020 – Sep 24, 2020

Subsystems (2)
lore
Share & tools
lore

Wei Li

author
#0 lore raw

PATCH 1/1 MIPS: BCM47XX: Remove the needless check with the 1074K

As there is no known soc powered by mips 1074K in bcm47xx series, the check with 1074K is needless. So just remove it.

Fixes 442e14a2c55e ("MIPS: Add 1074K CPU support explicitly.")
---
 arch/mips/bcm47xx/setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/bcm47xx/setup.c +1 -1
index 82627c264964..01427bde2397 100644
@@ -148,7 +148,7 @@ void __init plat_mem_setup(void)
 {
 	struct cpuinfo_mips *c = &current_cpu_data;
 
-	if ((c->cputype == CPU_74K) || (c->cputype == CPU_1074K)) {
+	if (c->cputype == CPU_74K) {
 		pr_info("Using bcma bus\n");
 #ifdef CONFIG_BCM47XX_BCMA
 		bcm47xx_bus_type = BCM47XX_BUS_TYPE_BCMA;
Signature · 1 line
2.17.1
maintainer Applied
#2 lore raw
In reply to Wei Li
Quoted 9 lines · Wei Li

As there is no known soc powered by mips 1074K in bcm47xx series, the check with 1074K is needless. So just remove it.

Fixes 442e14a2c55e ("MIPS: Add 1074K CPU support explicitly.")
---
 arch/mips/bcm47xx/setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

applied to mips-fixes.

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]