From 51d4b747897664fcafa9076a8d71977b3142998b Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 15 Oct 2010 09:51:36 +0200 Subject: remove strange flush_cache functions Signed-off-by: Sascha Hauer --- commands/loadb.c | 1 - commands/loads.c | 1 - 2 files changed, 2 deletions(-) (limited to 'commands') diff --git a/commands/loadb.c b/commands/loadb.c index acfb94fe08..faf4a97f6b 100644 --- a/commands/loadb.c +++ b/commands/loadb.c @@ -636,7 +636,6 @@ static ulong load_serial_ymodem(void) 0) { size += res; addr += res; - flush_cache((ulong) yModemBuf, res); wr = write(ofd, ymodemBuf, res); if (res != wr) { perror("ymodem"); diff --git a/commands/loads.c b/commands/loads.c index 8269af1955..6e0dc7fabc 100644 --- a/commands/loads.c +++ b/commands/loads.c @@ -175,7 +175,6 @@ load_serial (ulong offset) "## Total Size = 0x%08lX = %ld Bytes\n", start_addr, end_addr, size, size ); - flush_cache (start_addr, size); sprintf(buf, "%lX", size); setenv("filesize", buf); return (addr); -- cgit v1.2.3