Skip to content
Snippets Groups Projects
Commit 9bde741d authored by Peter Chubb's avatar Peter Chubb Committed by Joe Hershberger
Browse files

net: Fix cache misalignment message after network load operations


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: default avatarPeter Chubb <peter.chubb@data61.csiro.au>
Acked-by: default avatarHeiko Schocher <hs@denx.de>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 7377647a
No related branches found
No related tags found
No related merge requests found
...@@ -243,9 +243,6 @@ static int netboot_common(enum proto_t proto, cmd_tbl_t *cmdtp, int argc, ...@@ -243,9 +243,6 @@ static int netboot_common(enum proto_t proto, cmd_tbl_t *cmdtp, int argc,
return CMD_RET_SUCCESS; return CMD_RET_SUCCESS;
} }
/* flush cache */
flush_cache(load_addr, size);
bootstage_mark(BOOTSTAGE_ID_NET_LOADED); bootstage_mark(BOOTSTAGE_ID_NET_LOADED);
rcode = bootm_maybe_autostart(cmdtp, argv[0]); rcode = bootm_maybe_autostart(cmdtp, argv[0]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment