Skip to content

Commit

Permalink
powerpc/powernv: Increase candidate fw image size
Browse files Browse the repository at this point in the history
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: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Vasant Hegde authored and Benjamin Herrenschmidt committed Jan 15, 2014
1 parent 68fb18a commit bf16a4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/platforms/powernv/opal-flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
/* Validate buffer size */
#define VALIDATE_BUF_SIZE 4096

/* XXX: Assume candidate image size is <= 256MB */
#define MAX_IMAGE_SIZE 0x10000000
/* XXX: Assume candidate image size is <= 1GB */
#define MAX_IMAGE_SIZE 0x40000000

/* Flash sg list version */
#define SG_LIST_VERSION (1UL)
Expand Down

0 comments on commit bf16a4c

Please sign in to comment.