summaryrefslogtreecommitdiff
path: root/cmd/net.c
diff options
context:
space:
mode:
authorPeter Chubb <Peter.Chubb@data61.csiro.au>2016-09-14 03:49:22 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2016-10-13 12:25:33 -0500
commit9bde741decf999a203fdc49269e51cae959b0b64 (patch)
tree16b082ece0f0b9171cdbcecd83d9e2fb0b74834e /cmd/net.c
parent7377647a3678c50c1913f05d8ad8d685b05e52d1 (diff)
downloadu-boot-imx-9bde741decf999a203fdc49269e51cae959b0b64.zip
u-boot-imx-9bde741decf999a203fdc49269e51cae959b0b64.tar.gz
u-boot-imx-9bde741decf999a203fdc49269e51cae959b0b64.tar.bz2
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 <peter.chubb@data61.csiro.au> Acked-by: Heiko Schocher <hs@denx.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd/net.c')
-rw-r--r--cmd/net.c3
1 files changed, 0 insertions, 3 deletions
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]);