From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter.Chubb at data61.csiro.au Date: Wed, 14 Sep 2016 03:49:22 +0000 Subject: [U-Boot] [PATCH v3] net: Fix cache misalignment message after network load operations Message-ID: <20160914034905.28795-1-Peter.Chubb@data61.csiro.au> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- cmd/net.c | 3 --- 1 file changed, 3 deletions(-) Index: u-boot/cmd/net.c =================================================================== --- u-boot.orig/cmd/net.c 2016-09-07 13:50:46.616156851 +1000 +++ u-boot/cmd/net.c 2016-09-07 19:18:18.962450874 +1000 @@ -243,9 +243,6 @@ static int netboot_common(enum proto_t p return CMD_RET_SUCCESS; } - /* flush cache */ - flush_cache(load_addr, size); - bootstage_mark(BOOTSTAGE_ID_NET_LOADED); rcode = bootm_maybe_autostart(cmdtp, argv[0]);