diff options
author | Eric Lai <eric_lai@quanta.corp-partner.google.com> | 2022-06-16 14:12:02 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-06-17 14:38:47 +0000 |
commit | 471c239ffe69c68575a640e9d29f2df74ea613bc (patch) | |
tree | ca8838fed0e7a5febbdc1583a1d8d04fe98a63f6 /src/soc | |
parent | eead23e6a3c0869710e61a40d77b695d03abac89 (diff) |
soc/intel/xeon_sp: 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: Ic7c48415d1fa3067ac62520a542058e7cab45941
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65163
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/intel/xeon_sp/include/soc/lewisburg_pch_gpio_defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/xeon_sp/include/soc/lewisburg_pch_gpio_defs.h b/src/soc/intel/xeon_sp/include/soc/lewisburg_pch_gpio_defs.h index 2049c3fcaf..6f3ddcd6bf 100644 --- a/src/soc/intel/xeon_sp/include/soc/lewisburg_pch_gpio_defs.h +++ b/src/soc/intel/xeon_sp/include/soc/lewisburg_pch_gpio_defs.h @@ -337,6 +337,8 @@ #define NUM_GPIO_COM2_PADS (GPD11 - GPD0 + 1) +#define TOTAL_PADS (GPD11 + 1) + #define GPIO_NUM_PAD_CFG_REGS 2 /* DW0, DW1 */ #define NUM_GPIO_COMx_GPI_REGS(n) \ |