summaryrefslogtreecommitdiff
path: root/src/soc/intel/skylake
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-03-19 16:08:10 +0100
committerMichael Niewöhner <foss@mniewoehner.de>2021-03-20 12:29:19 +0000
commitf479c85227f530e48d68cf00b9a4bf249bbc2945 (patch)
treef95a2f1e2bc00a48eb8845b3ba952ae787fe56e1 /src/soc/intel/skylake
parent4c3851afbf8ec0b334d9a899dd436700ed92e89a (diff)
soc/intel: Drop unused `GPIO_NUM_GROUPS` macro
This macro is unused and its value is often wrong. Drop it. Change-Id: Id3cfaa4d2eef49eddc02833efbe14e0c5c816263 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51662 Reviewed-by: Subrata Banik <subrata.banik@intel.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/skylake')
-rw-r--r--src/soc/intel/skylake/include/soc/gpio_pch_h_defs.h1
-rw-r--r--src/soc/intel/skylake/include/soc/gpio_soc_defs.h1
2 files changed, 0 insertions, 2 deletions
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 727bc20bbb..6edb4779eb 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
@@ -19,7 +19,6 @@
#define GPP_H 7
#define GPP_I 8
#define GPD 9
-#define GPIO_NUM_GROUPS 10
#define GPIO_MAX_NUM_PER_GROUP 24
#define GPIO_DWx_COUNT 2 /* DW0 and DW1 */
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 af092050b0..47ddd17435 100644
--- a/src/soc/intel/skylake/include/soc/gpio_soc_defs.h
+++ b/src/soc/intel/skylake/include/soc/gpio_soc_defs.h
@@ -17,7 +17,6 @@
#define GPP_F 5
#define GPP_G 6
#define GPD 7
-#define GPIO_NUM_GROUPS 8
#define GPIO_MAX_NUM_PER_GROUP 24
#define GPIO_DWx_COUNT 2 /* DW0 and DW1 */