[U-Boot] [PATCH v2] Fix cache misalignment after network load operations
Peter.Chubb at data61.csiro.au
Peter.Chubb at data61.csiro.au
Wed Sep 14 03:30:27 CEST 2016
After any operation that downloads a file (e.g., pxe get, or dhcp), the
buffer containing the downloaded data is flushed. This patch rounds
up the flushed size to a cacheline boundary, preventing a cache
misalignment message from u-boot.
Signed-off-by: Peter Chubb <peter.chubb at data61.csiro.au>
---
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]);
More information about the U-Boot
mailing list