]> git.ipfire.org Git - people/ms/u-boot.git/commit
m68k: cache: add an empty stub functions for invalidate/flush dcache
authorWu, Josh <Josh.wu@atmel.com>
Mon, 27 Jul 2015 03:40:15 +0000 (11:40 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 13 Aug 2015 00:47:46 +0000 (20:47 -0400)
commit4dbe4b168bd3b315930bf65bb6c95eac10170026
treea083a474f0a3eb60b05484c2e6a1db7cabffda45
parent057c2200557e187a47f2c10af6c0b2db9bf88df3
m68k: cache: add an empty stub functions for invalidate/flush dcache

Since some driver like ohci, lcd used dcache functions. But m68k don't
implement the invalidate_dcache_range()/flush_dcache_range() functions.

To avoid compiling errors this patch adds an weak empty stub function
for all m68k cpu.

Also each cpu can implement its own implementation. If not implemented
then by default is using an empty function.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Angelo Dureghello <angelo@sysam.it>
arch/m68k/lib/cache.c