summaryrefslogtreecommitdiffstats
path: root/common/uimage.c
diff options
context:
space:
mode:
authorVicente Bergas <vicencb@gmail.com>2012-10-15 02:22:38 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-10-15 09:21:53 +0200
commit03af6cc45c52cc70532ec1e8a7b64a8b48c4f7cc (patch)
treea7f15ad0eb8df0919fa54c8b33a59eb2c05d70dc /common/uimage.c
parent27b77dc415a941b6e13b940b8b124bdaeb7bfeba (diff)
downloadbarebox-03af6cc45c52cc70532ec1e8a7b64a8b48c4f7cc.tar.gz
UIMAGE: improve transfer speed
Signed-off-by: Vicente Bergas <vicencb@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/uimage.c')
-rw-r--r--common/uimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/uimage.c b/common/uimage.c
index c72db41..b58dff1 100644
--- a/common/uimage.c
+++ b/common/uimage.c
@@ -373,7 +373,7 @@ static int uimage_sdram_flush(void *buf, unsigned int len)
return len;
}
-#define BUFSIZ (PAGE_SIZE * 2)
+#define BUFSIZ (PAGE_SIZE * 32)
struct resource *file_to_sdram(const char *filename, unsigned long adr)
{