]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_load.c
* CVS add missing files
[people/ms/u-boot.git] / common / cmd_load.c
index 5622452ccbff395735f8bf9e1fb1204cdaa2e532..702cab6dc66a0e627049ec621600cd860d453453 100644 (file)
@@ -192,7 +192,7 @@ load_serial (ulong offset)
                            "## Total Size      = 0x%08lX = %ld Bytes\n",
                            start_addr, end_addr, size, size
                    );
-                   flush_cache (addr, size);
+                   flush_cache (start_addr, size);
                    sprintf(buf, "%lX", size);
                    setenv("filesize", buf);
                    return (addr);