Skip to contentSkip to conversation

ppc/pnv: Increase max firmware size

PATCH Applied Cédric Le Goater 2 participants 2 messages Oct 2, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ppc/pnv: Increase max firmware size

Builds enabling GCOV can be bigger than 4MB and the limit on FSP systems is 16MB.

---
 hw/ppc/pnv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/ppc/pnv.c +1 -1
index 6670967e26a9..d9e52873ea70 100644
@@ -61,7 +61,7 @@
 
 #define FW_FILE_NAME            "skiboot.lid"
 #define FW_LOAD_ADDR            0x0
-#define FW_MAX_SIZE             (4 * MiB)
+#define FW_MAX_SIZE             (16 * MiB)
 
 #define KERNEL_LOAD_ADDR        0x20000000
 #define KERNEL_MAX_SIZE         (256 * MiB)
Signature · 1 line
2.25.4
Applied
#1 lore raw
Quoted 4 lines · Cédric Le Goater

Builds enabling GCOV can be bigger than 4MB and the limit on FSP systems is 16MB.

Applied to ppc-for-5.2, thanks.

Quoted 17 lines
---
 hw/ppc/pnv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/ppc/pnv.c +1 -1
index 6670967e26a9..d9e52873ea70 100644
@@ -61,7 +61,7 @@
 
 #define FW_FILE_NAME            "skiboot.lid"
 #define FW_LOAD_ADDR            0x0
-#define FW_MAX_SIZE             (4 * MiB)
+#define FW_MAX_SIZE             (16 * MiB)
 
 #define KERNEL_LOAD_ADDR        0x20000000
 #define KERNEL_MAX_SIZE         (256 * MiB)
Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson