From: Dinar Valeev Date: Tue, 21 May 2013 12:22:54 +0000 (+0200) Subject: Increase MAX_BLOCK_SIZE to 4096 X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=9cfeca6f50544e5cf5dc33f4f3bddc981171ca28;p=yaboot.git Increase MAX_BLOCK_SIZE to 4096 We need to increase MAX_BLOCK_SIZE to 4096 to be able to work with 4k aligned disks. Signed-off-by: Dinar Valeev Signed-off-by: Tony Breeds --- diff --git a/second/partition.c b/second/partition.c index 64b4725..d805ad0 100644 --- a/second/partition.c +++ b/second/partition.c @@ -63,7 +63,7 @@ static const char *valid_mac_partition_types[] = { #endif -#define MAX_BLOCK_SIZE 2048 +#define MAX_BLOCK_SIZE 4096 static unsigned char block_buffer[MAX_BLOCK_SIZE]; static void