mips: mtmips: add predefined i-cache/d-cache size and linesize
Both mt7620 and mt7628 has the same cache configuration. There is no need to use CONFIG_SYS_CACHE_SIZE_AUTO to probe it at runtime. Add them into Kconfig to reduce some code size. Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
This commit is contained in:
parent
ce7e197ea5
commit
79765201ca
@ -7,6 +7,18 @@ config SYS_MALLOC_F_LEN
|
||||
config SYS_SOC
|
||||
default "mt7628" if SOC_MT7628
|
||||
|
||||
config SYS_DCACHE_SIZE
|
||||
default 32768
|
||||
|
||||
config SYS_DCACHE_LINE_SIZE
|
||||
default 32
|
||||
|
||||
config SYS_ICACHE_SIZE
|
||||
default 65536
|
||||
|
||||
config SYS_ICACHE_LINE_SIZE
|
||||
default 32
|
||||
|
||||
choice
|
||||
prompt "MediaTek MIPS SoC select"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user