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 <wuyang5@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/90654 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Yidi Lin <yidilin@google.com>
This commit is contained in:
parent
25d159a7ec
commit
b354b49d58
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue