[coreboot-gerrit] Patch set updated for coreboot: libpayload: increase MAX_ARGC_COUNT

Jérémy Compostella (jeremy.compostella@gmail.com) gerrit at coreboot.org
Fri Nov 18 13:52:48 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 4f8e52362745a4b2e51d03e4226a9de3036dd1c0
Author: Jeremy Compostella <jeremy.compostella at gmail.com>
Date:   Fri Nov 18 13:40:32 2016 +0100

    libpayload: increase MAX_ARGC_COUNT
    
    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