]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_bootm.c
YAFFS2: cmd_yaffs2.c - fix build warnings
[karo-tx-uboot.git] / common / cmd_bootm.c
index 272d879bebc2036a244794e6631da9cf3dc551cc..8909ee703d32db806ba677196788af623cde2bf4 100644 (file)
@@ -432,6 +432,9 @@ static int bootm_load_os(image_info_t os, ulong *load_end, int boot_progress)
                printf ("Unimplemented compression type %d\n", comp);
                return BOOTM_ERR_UNIMPLEMENTED;
        }
+
+       flush_cache(load, (*load_end - load) * sizeof(ulong));
+
        puts ("OK\n");
        debug ("   kernel loaded at 0x%08lx, end = 0x%08lx\n", load, *load_end);
        if (boot_progress)