Commit bf16a4c2 authored by Vasant Hegde's avatar Vasant Hegde Committed by Benjamin Herrenschmidt

powerpc/powernv: Increase candidate fw image size

At present we assume candidate image is <= 256MB. But in P8,
candidate image size can go up to 750MB. Hence increasing
candidate image max size to 1GB.
Signed-off-by: default avatarVasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 68fb18aa
...@@ -76,8 +76,8 @@ ...@@ -76,8 +76,8 @@
/* Validate buffer size */ /* Validate buffer size */
#define VALIDATE_BUF_SIZE 4096 #define VALIDATE_BUF_SIZE 4096
/* XXX: Assume candidate image size is <= 256MB */ /* XXX: Assume candidate image size is <= 1GB */
#define MAX_IMAGE_SIZE 0x10000000 #define MAX_IMAGE_SIZE 0x40000000
/* Flash sg list version */ /* Flash sg list version */
#define SG_LIST_VERSION (1UL) #define SG_LIST_VERSION (1UL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment