summaryrefslogtreecommitdiffstats
path: root/arch/mips/loongson32
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2019-01-22 14:04:12 +0100
committerPaul Burton <paul.burton@mips.com>2019-01-23 02:32:23 +0100
commit7e280f6b0549f3c3e9e94206954d49f87c2048d0 (patch)
tree1f1b01a9e24ca5bf401c7a7679a729274a145af4 /arch/mips/loongson32
parentMIPS: Loongson32: workaround di issue (diff)
downloadlinux-7e280f6b0549f3c3e9e94206954d49f87c2048d0.tar.xz
linux-7e280f6b0549f3c3e9e94206954d49f87c2048d0.zip
MIPS: Loongson32: Revert ISA level to MIPS32R2
GS232 core have implemented all necessary mips32r2 instructions. Serval missing FP instructions can be emulated by kernel. The issue of di instruction have been solved. Thus we revert the ISA level back to MIPS32R2. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: linux-mips@vger.kernel.org Cc: keguang.zhang@gmail.com
Diffstat (limited to 'arch/mips/loongson32')
-rw-r--r--arch/mips/loongson32/Platform2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/loongson32/Platform b/arch/mips/loongson32/Platform
index ca39b4907257..333215593092 100644
--- a/arch/mips/loongson32/Platform
+++ b/arch/mips/loongson32/Platform
@@ -1,4 +1,4 @@
-cflags-$(CONFIG_CPU_LOONGSON1) += -march=mips32 -Wa,--trap
+cflags-$(CONFIG_CPU_LOONGSON1) += -march=mips32r2 -Wa,--trap
platform-$(CONFIG_MACH_LOONGSON32) += loongson32/
cflags-$(CONFIG_MACH_LOONGSON32) += -I$(srctree)/arch/mips/include/asm/mach-loongson32
load-$(CONFIG_CPU_LOONGSON1) += 0xffffffff80200000