From: Tony Breeds Date: Mon, 13 May 2013 04:42:21 +0000 (+1000) Subject: fs_of: Increase the LOAD_BUFFER_SIZE to 32MB X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=commitdiff_plain;h=f70d675c9b833e57b605fc94702cd66e97c717f5;hp=0298b541149eca4c30749085694526a0040d0982 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 --- 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);