diff options
author | Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> | 2013-08-22 08:43:47 +0900 |
---|---|---|
committer | Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> | 2013-10-17 09:34:39 +0900 |
commit | a633a18f906bb21a46634f0d4b1c453ca0e6735b (patch) | |
tree | 41c42538816e530479c0ba7b213b6e146c4af167 /arch/sh/cpu/sh4/cpu.c | |
parent | b8f1608645c98511e726f6e009169f9b9e2140f9 (diff) | |
download | u-boot-a633a18f906bb21a46634f0d4b1c453ca0e6735b.tar.gz |
sh: cache: Change cache API to defines as U-Boot
A chache API of SH is developped by reference in linux kernel.
And API was the same as the linux kernel.
This patch change cache API to defines as U-Boot.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch/sh/cpu/sh4/cpu.c')
-rw-r--r-- | arch/sh/cpu/sh4/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/cpu/sh4/cpu.c b/arch/sh/cpu/sh4/cpu.c index 9fae61473b..91133a38ae 100644 --- a/arch/sh/cpu/sh4/cpu.c +++ b/arch/sh/cpu/sh4/cpu.c @@ -41,7 +41,7 @@ int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) void flush_cache (unsigned long addr, unsigned long size) { - dcache_invalid_range( addr , addr + size ); + invalidate_dcache_range(addr , addr + size); } void icache_enable (void) |