summaryrefslogtreecommitdiff
path: root/cpu/sh4/cpu.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-04-08 00:04:39 +0200
committerWolfgang Denk <wd@denx.de>2008-04-08 00:04:39 +0200
commit5c395393cc9b85b14c5481dbcab6b67b54f31622 (patch)
tree888e8cd55173a99f636b19e2813e3dfe6afe3d44 /cpu/sh4/cpu.c
parente59af4b611408adcdfb5e19bc5194a7d1f8b4dc3 (diff)
parent280df59a8d62c6e74c281b1cb7e2052df4d6cb00 (diff)
downloadu-boot-imx-5c395393cc9b85b14c5481dbcab6b67b54f31622.zip
u-boot-imx-5c395393cc9b85b14c5481dbcab6b67b54f31622.tar.gz
u-boot-imx-5c395393cc9b85b14c5481dbcab6b67b54f31622.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-sh
Diffstat (limited to 'cpu/sh4/cpu.c')
-rw-r--r--cpu/sh4/cpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu/sh4/cpu.c b/cpu/sh4/cpu.c
index 0ebf951..d94e139 100644
--- a/cpu/sh4/cpu.c
+++ b/cpu/sh4/cpu.c
@@ -24,6 +24,7 @@
#include <common.h>
#include <command.h>
#include <asm/processor.h>
+#include <asm/cache.h>
int checkcpu(void)
{
@@ -51,7 +52,7 @@ int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
void flush_cache (unsigned long addr, unsigned long size)
{
-
+ dcache_invalid_range( addr , addr + size );
}
void icache_enable (void)