]> git.dujemihanovic.xyz Git - u-boot.git/commit
MIPS: cache: make index base address configurable
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 7 Sep 2018 17:02:05 +0000 (19:02 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sat, 22 Sep 2018 19:02:03 +0000 (21:02 +0200)
commit5ef337a0371e2b2c7905e7e20a38b6bfc80bb708
tree779823c3cff6633929662fa5ada75b773cffa7d9
parentb838586086af3278bcaead3720c7a18813cf4619
MIPS: cache: make index base address configurable

The index base address used for the cache initialisation is currently
hard-coded to CKSEG0. Make this value configurable if a MIPS system
needs to have a different address (e.g. in SRAM or ScratchPad RAM).

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/Kconfig
arch/mips/lib/cache_init.S