]> Git Repo - J-u-boot.git/commitdiff
net: Fix cache misalignment message after network load operations
authorPeter Chubb <[email protected]>
Wed, 14 Sep 2016 03:49:22 +0000 (03:49 +0000)
committerJoe Hershberger <[email protected]>
Thu, 13 Oct 2016 17:25:33 +0000 (12:25 -0500)
After any operation that downloads a file (e.g., pxe get, or dhcp), the
buffer containing the downloaded data is flushed.  This is unnecessary
and annoying.  Unnecessary, because
the network driver should already have fliushed the cache for the DMAed area,
and annoying because it generates a cache misalignment message.

Signed-off-by: Peter Chubb <[email protected]>
Acked-by: Heiko Schocher <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
cmd/net.c

index b2f3c7b709bc59f7449b86a540faaf78d1cce292..bed76e4bcb0899e5c368d09ddd33ed6873a1b789 100644 (file)
--- a/cmd/net.c
+++ b/cmd/net.c
@@ -243,9 +243,6 @@ static int netboot_common(enum proto_t proto, cmd_tbl_t *cmdtp, int argc,
                return CMD_RET_SUCCESS;
        }
 
-       /* flush cache */
-       flush_cache(load_addr, size);
-
        bootstage_mark(BOOTSTAGE_ID_NET_LOADED);
 
        rcode = bootm_maybe_autostart(cmdtp, argv[0]);
This page took 0.031283 seconds and 4 git commands to generate.