[U-Boot] [PATCH v1 0/4] MIPS: optimise cache initialization

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Fri Sep 7 17:02:02 UTC 2018


Do some minor cleanups. Improve the code for changing the k0 CCA.
Make the index base address for cache initialisation configurable.

Some changes are insprired by the book "MD0901 Boot-MIPS" [1].

Also this is partly a preparation for the upcoming support for Mediatek
MT76xx platform.

[1] https://training.mips.com/cps_mips/Examples/MD00901_Boot-MIPS_Example_Boot_Code_for_MIPS_Cores.pdf


Daniel Schwierzeck (4):
  MIPS: cache: reimplement dcache_[status,enable,disable]
  MIPS: cache: optimise changing of k0 CCA mode
  MIPS: cache: make index base address configurable
  MIPS: cache: remove config option CONFIG_SYS_MIPS_CACHE_MODE

 README                           |  14 ----
 arch/mips/Kconfig                |  12 ++++
 arch/mips/lib/cache.c            |  20 ++++++
 arch/mips/lib/cache_init.S       | 118 ++++++++++---------------------
 include/configs/imgtec_xilfpga.h |   3 -
 include/configs/pic32mzdask.h    |   3 -
 scripts/config_whitelist.txt     |   1 -
 7 files changed, 70 insertions(+), 101 deletions(-)

-- 
2.18.0



More information about the U-Boot mailing list