From f70d675c9b833e57b605fc94702cd66e97c717f5 Mon Sep 17 00:00:00 2001 From: Tony Breeds Date: Mon, 13 May 2013 14:42:21 +1000 Subject: [PATCH] fs_of: Increase the LOAD_BUFFER_SIZE to 32MB Okay this is the last time. To go bigger than this we'll almost certainly break smaller systems, if we haven't already. Also 32MB is as big as std. TFTP will go. To transfer more than that we need to support tftp block-size and tftp rollover. Basically we'd *require* HPA's tftp daemon and we'd need to write a TFTP client in yaboot. So we'll stay at 32MB for a while I think. Signed-off-by: Tony Breeds --- 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 fc88e8e..13f5e2c 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 0x1800000 +#define LOAD_BUFFER_SIZE 0x2000000 static int of_open(struct boot_file_t* file, struct partition_t* part, struct boot_fspec_t* fspec); -- 2.39.5