]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/arm/lib/board.c
armv7: integrate cache maintenance support
[karo-tx-uboot.git] / arch / arm / lib / board.c
index 4f88f5823b1e6a24226914dbeb3ad3c5b24fec51..fc52a26b797a47c2945e9846c4d877efb58b091b 100644 (file)
@@ -450,6 +450,12 @@ void board_init_r (gd_t *id, ulong dest_addr)
        gd->flags |= GD_FLG_RELOC;      /* tell others: relocation done */
 
        monitor_flash_len = _end_ofs;
+       /*
+        * Enable D$:
+        * I$, if needed, must be already enabled in start.S
+        */
+       dcache_enable();
+
        debug ("monitor flash len: %08lX\n", monitor_flash_len);
        board_init();   /* Setup chipselects */