diff options
author | Jeremy Compostella <jeremy.compostella@gmail.com> | 2016-11-18 13:40:32 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2016-11-25 13:39:01 +0100 |
commit | bf618cb94ea3e4a131ea61dab3702363afa94286 (patch) | |
tree | 0232e351588a4922f932989953fbd239fca31c8c /payloads/libpayload/include | |
parent | f6fe2f1286f2551ae8d9732f949a51eb6c975363 (diff) | |
download | coreboot-bf618cb94ea3e4a131ea61dab3702363afa94286.tar.xz |
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@gmail.com>
Reviewed-on: https://review.coreboot.org/17467
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: Martin Roth <martinroth@google.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r-- | payloads/libpayload/include/libpayload.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h index b51abdfec6..97d5944c63 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 |