]> git.dujemihanovic.xyz Git - u-boot.git/commit
mips: cache: Make invalidate_dcache_range() weak to enable overwrite
authorStefan Roese <sr@denx.de>
Tue, 30 Jun 2020 10:33:19 +0000 (12:33 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sat, 18 Jul 2020 12:23:25 +0000 (14:23 +0200)
commit60a0559b7fe9bdb9433dc39c42e3e12c4363d63e
tree8c7515c6a63ddba9db1737de0e4fddcbc7944b66
parent1d4ba15c6fe1265c5964cce3436fd501b14bae3b
mips: cache: Make invalidate_dcache_range() weak to enable overwrite

This patch adds __weak to invalidate_dcache_range() in lib/cache.c. This
makes it possible to overwrite this function by a platforms specific
version, which will be done for Octeon.

Signed-off-by: Stefan Roese <sr@denx.de>
arch/mips/lib/cache.c