]> git.dujemihanovic.xyz Git - u-boot.git/commit
mips: cache: Make flush_cache() weak to enable overwrite
authorStefan Roese <sr@denx.de>
Thu, 14 May 2020 09:59:04 +0000 (11:59 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sat, 18 Jul 2020 12:23:25 +0000 (14:23 +0200)
commit1d4ba15c6fe1265c5964cce3436fd501b14bae3b
tree7898f9d4ffb5082ac79d4b030829cae6330c6261
parent2eed3dca229e97aa03954ee5178457c4f2f8cfdb
mips: cache: Make flush_cache() weak to enable overwrite

This patch adds __weak to flush_cache() in lib/cache.c. This makes it
possible to overwrite this function by a platforms specific version,
like done with the Octeon base port.

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