sh4: cache: move exported cache manipulation functions into cache.c

No functional change, moving cache manipulation functions into cache.c
allows to collect all of them in a single location and as a pleasant
side effect cache_control() function can be unexported now.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Vladimir Zapolskiy
2016-11-28 00:15:18 +02:00
committed by Tom Rini
parent 6ab8b961de
commit b33718c614
3 changed files with 36 additions and 39 deletions

View File

@@ -3,8 +3,6 @@
#if defined(CONFIG_CPU_SH4)
int cache_control(unsigned int cmd);
#define L1_CACHE_BYTES 32
struct __large_struct { unsigned long buf[100]; };