[coreboot-gerrit] Patch set updated for coreboot: libpayload: increase MAX_ARGC_COUNT
Jérémy Compostella (jeremy.compostella@gmail.com)
gerrit at coreboot.org
Sat Nov 19 12:06:50 CET 2016
Jérémy Compostella (jeremy.compostella at gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17467
-gerrit
commit b8ddd8ab44cab279e36087514d3b339130345365
Author: Jeremy Compostella <jeremy.compostella at gmail.com>
Date: Fri Nov 18 13:40:32 2016 +0100
libpayload: increase MAX_ARGC_COUNT
MAX_ARGC_COUNT limits the payload to ten parameters which is not
enough when used with a proprietary first stage bootloader providing
hardware description using around 20 parameters.
This patch makes the libpayload able to get up to 32 parameters.
Change-Id: I49925040d951dffb9c11425334674d8d498821f2
Signed-off-by: Jeremy Compostella <jeremy.compostella at gmail.com>
---
payloads/libpayload/include/libpayload.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h
index b51abdf..97d5944 100644
--- a/payloads/libpayload/include/libpayload.h
+++ b/payloads/libpayload/include/libpayload.h
@@ -78,7 +78,7 @@ static inline u32 div_round_up(u32 n, u32 d) { return (n + d - 1) / d; }
#define RAND_MAX 0x7fffffff
-#define MAX_ARGC_COUNT 10
+#define MAX_ARGC_COUNT 32
/*
* Payload information parameters - these are used to pass information
More information about the coreboot-gerrit
mailing list