Author: rmilecki
Date: 2015-04-16 23:20:37 +0200 (Thu, 16 Apr 2015)
New Revision: 45469

Modified:
   trunk/target/linux/brcm47xx/mips74k/config-default
Log:
brcm47xx: explicitly select CPU_MIPS32_R2 and CPU_MIPSR2 for mips74k

The mips74k subtarget of brcm47xx configures gcc to compile for mips32r2;
however, the generated kernel config for 3.14 and later kernels ends up
with CPU_MIPS32_R1 and CPU_MIPSR1 selected.  The generated kernel config
for the 3.10 kernel (Barrier Breaker) properly selected CPU_MIPS32_R2 and
CPU_MIPSR2.  Modify the default kernel config for mips74k to explicitly
select CPU_MIPS32_R2 and CPU_MIPSR2.

Signed-off-by: Nathan Hintz <[email protected]>
Tested-by: Rafa?\197?\130 Mi?\197?\130ecki <[email protected]>

Modified: trunk/target/linux/brcm47xx/mips74k/config-default
===================================================================
--- trunk/target/linux/brcm47xx/mips74k/config-default  2015-04-16 20:43:11 UTC 
(rev 45468)
+++ trunk/target/linux/brcm47xx/mips74k/config-default  2015-04-16 21:20:37 UTC 
(rev 45469)
@@ -2,6 +2,10 @@
 # CONFIG_BCM47XX_SSB is not set
 CONFIG_BGMAC=y
 CONFIG_BOUNCE=y
+# CONFIG_CPU_MIPS32_R1 is not set
+# CONFIG_CPU_MIPSR1 is not set
+CONFIG_CPU_MIPS32_R2=y
+CONFIG_CPU_MIPSR2=y
 # CONFIG_FIXED_PHY is not set
 # CONFIG_GPIO_WDT is not set
 CONFIG_HIGHMEM=y
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to