mips: mtmips: add predefined i-cache/d-cache size and linesize
authorWeijie Gao <weijie.gao@mediatek.com>
Tue, 21 Apr 2020 07:28:26 +0000 (09:28 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Mon, 27 Apr 2020 18:29:33 +0000 (20:29 +0200)
commit79765201ca262f318cb69278907f1947a8c6e3cd
treeccb33451eab18df0ecec857720f9ac5845bbd440
parentce7e197ea580b0d0c8e20528e454c5be9b3256c1
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>
arch/mips/mach-mtmips/Kconfig