From b354b49d58f87da1bcbc6de073c254bba3708af8 Mon Sep 17 00:00:00 2001 From: Yang Wu Date: Tue, 30 Dec 2025 21:29:05 +0800 Subject: [PATCH] libpayload: Increase SYSINFO_MAX_GPIOS to 10 Some boards require exposing more GPIOs to the payload via sysinfo. Increase the maximum number of supported GPIO entries accordingly. For example Padme will pass 9 GPIOs to payload. BUG=b:461907110 TEST=Boot firmware and check GPIO counts in sysinfo. BRANCH=None Change-Id: Idb90896b82b56f65c3d46e53b36238717de0a6d1 Signed-off-by: Yang Wu Reviewed-on: https://review.coreboot.org/c/coreboot/+/90654 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu Reviewed-by: Yidi Lin --- payloads/libpayload/include/sysinfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/payloads/libpayload/include/sysinfo.h b/payloads/libpayload/include/sysinfo.h index f18ad62308..23e2d55409 100644 --- a/payloads/libpayload/include/sysinfo.h +++ b/payloads/libpayload/include/sysinfo.h @@ -34,8 +34,8 @@ /* Maximum number of memory range definitions. */ #define SYSINFO_MAX_MEM_RANGES 32 -/* Allow a maximum of 8 GPIOs */ -#define SYSINFO_MAX_GPIOS 8 +/* Allow a maximum of 10 GPIOs */ +#define SYSINFO_MAX_GPIOS 10 /* Up to 10 MAC addresses */ #define SYSINFO_MAX_MACS 10