]> git.dujemihanovic.xyz Git - u-boot.git/commit
mips: refactor disabling of caches
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sat, 11 Jul 2020 22:45:56 +0000 (00:45 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sat, 18 Jul 2020 12:23:25 +0000 (14:23 +0200)
commit60772433dd42987f3b965188d9577150084b8956
treec170a4737477d2b296d802438444e724dafe9ece
parentb55e07e5656c6838a14453705e90189908ad7d92
mips: refactor disabling of caches

Logically this code belongs to cache_init.S.

If a complex SoC needs to replace the generic cache init,
mips_cache_disable() can now be called from custom start.S files.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Tested-by: Stefan Roese <sr@denx.de>
arch/mips/cpu/start.S
arch/mips/lib/cache_init.S