soc/intel/skylake: Define macro TOTAL_PADS

Define total GPIO pins as TOTAL_PADS.

Signed-off-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Change-Id: I40294339c79f5db1850ccd546292c67169890b2c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65161
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Eric Lai 2022-06-16 13:27:03 +08:00 committed by Felix Held
parent 031c40a785
commit eead23e6a3
2 changed files with 4 additions and 0 deletions

View File

@ -252,4 +252,6 @@
#define NUM_GPIO_COM2_PADS (GPD11 - GPD0 + 1)
#define TOTAL_PADS (GPD11 + 1)
#endif /* _SOC_GPIO_PCH_H_DEFS_H_ */

View File

@ -208,4 +208,6 @@
#define NUM_GPIO_COM2_PADS (GPD11 - GPD0 + 1)
#define TOTAL_PADS (GPD11 + 1)
#endif /* _SOC_GPIO_SOC_DEFS_H_ */