[PATCH 2/2] Increase LOAD_BUFFER to 64MB

Dinar valeev k0da at opensuse.org
Thu Oct 31 03:47:33 EST 2013


From: Dinar Valeev <dvaleev at suse.com>

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

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

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);
-- 
1.8.1.4



More information about the Yaboot-devel mailing list