[OpenWrt-Devel] [PATCH] brcm47xx: explicitly select CPU_MIPS32_R2 and CPU_MIPSR2 for mips74k
Nathan Hintz
nlhintz at hotmail.com
Sat Oct 18 15:07:28 EDT 2014
The mips74k subtarget of brcm47xx configures gcc to compile for mips32r2;
however, the generated kernel config for the 3.14 kernel ends up with
CPU_MIPS32_R1 and CPU_MIPSR1 selected. The generated kernel config for the
3.10 kernel properly selects 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 <nlhintz at hotmail.com>
---
target/linux/brcm47xx/mips74k/config-default | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/target/linux/brcm47xx/mips74k/config-default b/target/linux/brcm47xx/mips74k/config-default
index 2b4497d..09ff5a9 100644
--- a/target/linux/brcm47xx/mips74k/config-default
+++ b/target/linux/brcm47xx/mips74k/config-default
@@ -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
--
1.9.3
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list