malta: set CPU_TYPE:=24kc.
authorFelix Fietkau <nbd@openwrt.org>
Sat, 31 Oct 2015 09:30:14 +0000 (09:30 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 31 Oct 2015 09:30:14 +0000 (09:30 +0000)
commitfaa69c3dec8cd9fabe9c168c8656751481594f79
tree68afe7fd176b5bf191b816b16f37969b715c15a2
parente0f90d9bee2908201a94df161358450623a340b9
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>
SVN-Revision: 47324
target/linux/malta/Makefile