aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-10-31 09:30:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-10-31 09:30:14 +0000
commit6fbfb17ba4989b49c4cb7a0d15de82102fcdaed0 (patch)
tree68afe7fd176b5bf191b816b16f37969b715c15a2 /target/linux
parenteb8df511575d55ec4f9a7e4d17e0448f226089c0 (diff)
downloadmaster-187ad058-6fbfb17ba4989b49c4cb7a0d15de82102fcdaed0.tar.gz
master-187ad058-6fbfb17ba4989b49c4cb7a0d15de82102fcdaed0.tar.bz2
master-187ad058-6fbfb17ba4989b49c4cb7a0d15de82102fcdaed0.zip
malta: set CPU_TYPE:=24kc.
There are instructions (e.g. wsbh) only available in MIPS32R2 which is the isa level used by many MIPS targets in OpenWrt. As we use the malta target mostly for development and testing purposes, setting the CPU_TYPE to 24Kc will make the emulation more real. The following is output from qemu-system-mipsel 2.3.0 root@OpenWrt:/# cat /proc/cpuinfo | grep 'cpu model\|isa' cpu model : MIPS 24Kc V0.0 FPU V0.0 isa : mips1 mips2 mips32r1 mips32r2 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47324 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/malta/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile
index 06cb68aee4..c9f1586aaa 100644
--- a/target/linux/malta/Makefile
+++ b/target/linux/malta/Makefile
@@ -8,6 +8,7 @@ include $(TOPDIR)/rules.mk
BOARD:=malta
BOARDNAME:=MIPS Malta CoreLV board (qemu)
+CPU_TYPE:=24kc
SUBTARGETS:=le be #le64 be64
INITRAMFS_EXTRA_FILES:=
MAINTAINER:=Florian Fainelli <florian@openwrt.org>