diff mbox

[2/2] Increase LOAD_BUFFER to 64MB

Message ID 1383151653-7494-2-git-send-email-k0da@opensuse.org
State New
Headers show

Commit Message

Dinar Valeev Oct. 30, 2013, 4:47 p.m. UTC
From: Dinar Valeev <dvaleev@suse.com>

We have increased blocksize, we can load files up to 64MB. Lets increase
BUFFER_SIZE

Signed-off-by: Dinar Valeev <dvaleev@suse.com>
---
 second/fs_of.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/second/fs_of.c b/second/fs_of.c
index 699c0ba..a91940b 100644
--- a/second/fs_of.c
+++ b/second/fs_of.c
@@ -44,7 +44,7 @@ 
 #include "errors.h"
 #include "debug.h"
 
-#define LOAD_BUFFER_SIZE	0x2000000
+#define LOAD_BUFFER_SIZE	0x4000000
 
 static int of_open(struct boot_file_t* file,
 		   struct partition_t* part, struct boot_fspec_t* fspec);