commit | eead23e6a3c0869710e61a40d77b695d03abac89 | [log] [tgz] |
---|---|---|
author | Eric Lai <eric_lai@quanta.corp-partner.google.com> | Thu Jun 16 13:27:03 2022 +0800 |
committer | Felix Held <felix-coreboot@felixheld.de> | Fri Jun 17 14:38:33 2022 +0000 |
tree | b87dc50e484cdaded3afcc1e744a4fcd0aaecd90 | |
parent | 031c40a7853ab156d54e5f554cfe1031ffde7662 [diff] |
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>
diff --git a/src/soc/intel/skylake/include/soc/gpio_pch_h_defs.h b/src/soc/intel/skylake/include/soc/gpio_pch_h_defs.h index 6edb477..42dbce2 100644 --- a/src/soc/intel/skylake/include/soc/gpio_pch_h_defs.h +++ b/src/soc/intel/skylake/include/soc/gpio_pch_h_defs.h
@@ -252,4 +252,6 @@ #define NUM_GPIO_COM2_PADS (GPD11 - GPD0 + 1) +#define TOTAL_PADS (GPD11 + 1) + #endif /* _SOC_GPIO_PCH_H_DEFS_H_ */
diff --git a/src/soc/intel/skylake/include/soc/gpio_soc_defs.h b/src/soc/intel/skylake/include/soc/gpio_soc_defs.h index 47ddd17..f6e5ef6 100644 --- a/src/soc/intel/skylake/include/soc/gpio_soc_defs.h +++ b/src/soc/intel/skylake/include/soc/gpio_soc_defs.h
@@ -208,4 +208,6 @@ #define NUM_GPIO_COM2_PADS (GPD11 - GPD0 + 1) +#define TOTAL_PADS (GPD11 + 1) + #endif /* _SOC_GPIO_SOC_DEFS_H_ */