mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-24 12:03:39 +00:00
372286217f
Allow L1 Icache & L1 Dcache line size to be specified separately, since there's no architectural mandate that they be the same. The [id]cache_line_size functions are tidied up to take advantage of the fact that the Kconfig entries are always present to simply check them for zero rather than needing to #ifdef on their presence. Signed-off-by: Paul Burton <paul.burton@imgtec.com> [removed CONFIG_SYS_CACHELINE_SIZE in include/configs/pic32mzdask.h] Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
26 lines
400 B
Text
26 lines
400 B
Text
if TARGET_QEMU_MIPS
|
|
|
|
config SYS_BOARD
|
|
default "qemu-mips"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "qemu-mips" if 32BIT
|
|
default "qemu-mips64" if 64BIT
|
|
|
|
config SYS_TEXT_BASE
|
|
default 0xbfc00000 if 32BIT
|
|
default 0xffffffffbfc00000 if 64BIT
|
|
|
|
config SYS_DCACHE_SIZE
|
|
default 16384
|
|
|
|
config SYS_DCACHE_LINE_SIZE
|
|
default 32
|
|
|
|
config SYS_ICACHE_SIZE
|
|
default 16384
|
|
|
|
config SYS_ICACHE_LINE_SIZE
|
|
default 32
|
|
|
|
endif
|