qemu-e2k/target
Max Filippov 4b37aaa879 target/xtensa: fix ICACHE/DCACHE options detection
Configuration overlay does not explicitly say whether there are ICACHE
and DCACHE in the core. Current code uses XCHAL_[ID]CACHE_WAYS to detect
if corresponding cache option is enabled, but that's not correct: on
cores without cache these macros are defined as 1, not as 0.
Check XCHAL_[ID]CACHE_SIZE instead.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2017-01-15 13:01:56 -08:00
..
alpha
arm
cris
i386 x86: implement la57 paging mode 2016-12-22 16:01:04 +01:00
lm32
m68k
microblaze
mips
moxie
openrisc
ppc
s390x
sh4
sparc
tilegx
tricore
unicore32
xtensa target/xtensa: fix ICACHE/DCACHE options detection 2017-01-15 13:01:56 -08:00