]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_bootm.c
* Patch by Thomas Frieden, 13 Nov 2002:
[karo-tx-uboot.git] / common / cmd_bootm.c
index a0587d019f8b95cfe49d1e8850c85fbb0a1679ea..4c0d1f5bde589e06c4987857526464852041c86c 100644 (file)
@@ -224,6 +224,17 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 
        iflag = disable_interrupts();
 
+#ifdef CONFIG_AMIGAONEG3SE
+       /*
+        * We've possible left the caches enabled during 
+        * bios emulation, so turn them off again
+        */
+       icache_disable();
+       invalidate_l1_instruction_cache();
+       flush_data_cache();
+       dcache_disable();
+#endif
+
        switch (hdr->ih_comp) {
        case IH_COMP_NONE:
                if(ntohl(hdr->ih_load) == addr) {