]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/image.c
Merge git://git.denx.de/u-boot-rockchip
[people/ms/u-boot.git] / common / image.c
index 96c5f58e4c60a415abff9efe44cfdb09e3eaa565..e9609cd4f7ffad6fb443d42f81e96db27a62f3ac 100644 (file)
@@ -1186,7 +1186,8 @@ int boot_ramdisk_high(struct lmb *lmb, ulong rd_data, ulong rd_len,
                         * AMP boot scenarios in which we might not be
                         * HW cache coherent
                         */
-                       flush_cache((unsigned long)*initrd_start, rd_len);
+                       flush_cache((unsigned long)*initrd_start,
+                                   ALIGN(rd_len, ARCH_DMA_MINALIGN));
 #endif
                        puts("OK\n");
                }