aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/cannonlake/gpio.c
diff options
context:
space:
mode:
authorLijian Zhao <lijian.zhao@intel.com>2017-07-25 18:42:29 -0700
committerAaron Durbin <adurbin@chromium.org>2017-07-27 15:50:36 +0000
commit03e44f46b080022a0c8949b2cc7ba88d587e671e (patch)
treeecef36ca9581a1e75a4e289d54330ee95056e68f /src/soc/intel/cannonlake/gpio.c
parent1a4add9e873fb312c21c57ac3208cd758f16033c (diff)
soc/intel/cannonlake: Correct gpio definition
The following changes have been applied for GPIO: 1. Correct port id using by GPIO community 3 for CNL-LP. 2. Correct number of doubleword for each pad from 2 to 4. Change-Id: I717d1ffba8e6722543f4cf8083fe6145fa85e184 Signed-off-by: Lijian Zhao <lijian.zhao@intel.com> Reviewed-on: https://review.coreboot.org/20775 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/soc/intel/cannonlake/gpio.c')
-rw-r--r--src/soc/intel/cannonlake/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/cannonlake/gpio.c b/src/soc/intel/cannonlake/gpio.c
index 2dd90f9f01..68b137d742 100644
--- a/src/soc/intel/cannonlake/gpio.c
+++ b/src/soc/intel/cannonlake/gpio.c
@@ -75,7 +75,7 @@ static const struct pad_community cnl_communities[] = {
.reset_map = rst_map,
.num_reset_vals = ARRAY_SIZE(rst_map),
}, { /* GPP C, E */
- .port = PID_GPIOCOM3,
+ .port = PID_GPIOCOM4,
.first_pad = GPP_C0,
.last_pad = GPP_E23,
.num_gpi_regs = NUM_GPIO_COM3_GPI_REGS,