]> git.sur5r.net Git - u-boot/blobdiff - board/spear/common/spr_misc.c
SPEAr: Enable dcache for fast file transfer
[u-boot] / board / spear / common / spr_misc.c
index 043c72a05d3496b5ee19d6a013965b66c7743f20..99a6595966524eb591a1d7f43ef64cadb5c2ec26 100644 (file)
@@ -76,6 +76,10 @@ int misc_init_r(void)
        setenv("stdin", "usbtty");
        setenv("stdout", "usbtty");
        setenv("stderr", "usbtty");
+
+#ifndef CONFIG_SYS_NO_DCACHE
+       dcache_enable();
+#endif
 #endif
        return 0;
 }