From: Peter Chubb Date: Wed, 14 Sep 2016 03:49:22 +0000 (+0000) Subject: net: Fix cache misalignment message after network load operations X-Git-Tag: v2016.11-rc2~8^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9bde741decf999a203fdc49269e51cae959b0b64;p=platform%2Fkernel%2Fu-boot.git 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: Peter Chubb Acked-by: Heiko Schocher Acked-by: Joe Hershberger Reviewed-by: Tom Rini --- diff --git a/cmd/net.c b/cmd/net.c index b2f3c7b..bed76e4 100644 --- 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]);