diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2015-04-16 21:20:37 +0000 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2015-04-16 21:20:37 +0000 |
commit | c8eed9a50a62afafe239d09d99521838daa978b4 (patch) | |
tree | 7661fca5a2d051832b10dc5a7a92381c3f041660 /target/linux | |
parent | 582b20c4e2c19744021866243fe569acb39c7eca (diff) | |
download | mtk-20170518-c8eed9a50a62afafe239d09d99521838daa978b4.zip mtk-20170518-c8eed9a50a62afafe239d09d99521838daa978b4.tar.gz mtk-20170518-c8eed9a50a62afafe239d09d99521838daa978b4.tar.bz2 |
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 <nlhintz@hotmail.com>
Tested-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45469
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/brcm47xx/mips74k/config-default | 4 |
1 files changed, 4 insertions, 0 deletions
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 |