From ef3a17bd88f3c751ef98d3be94eb922da14ce3c5 Mon Sep 17 00:00:00 2001
From: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Date: Sat, 2 Aug 2014 10:15:44 +1000
Subject: util/inteltool: Typo in dump output for 'GP_IO_SEL3'

The GPIO offset of '0x44 - GP_IO_SEL3' as specified in the pch.h header
is incorrectly reported as 'GPIO_SEL3'.

Change-Id: I56dcdda109d5f57ed45938d60b995807bdfb46b1
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/6459
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
---
 util/inteltool/gpio.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'util/inteltool')

diff --git a/util/inteltool/gpio.c b/util/inteltool/gpio.c
index 42e7272c23..49c1325663 100644
--- a/util/inteltool/gpio.c
+++ b/util/inteltool/gpio.c
@@ -188,7 +188,7 @@ static const io_register_t ich10_gpio_registers[] = {
 	{ 0x38, 4, "GP_LVL2" },
 	{ 0x3C, 4, "RESERVED" },
 	{ 0x40, 4, "GPIO_USE_SEL3" },
-	{ 0x44, 4, "GPIO_SEL3" },
+	{ 0x44, 4, "GP_IO_SEL3" },
 	{ 0x48, 4, "GPIO_LVL3" },
 	{ 0x4c, 4, "RESERVED" },
 	{ 0x50, 4, "RESERVED" },
@@ -242,7 +242,7 @@ static const io_register_t pch_gpio_registers[] = {
 	{ 0x38, 4, "GP_LVL2" },
 	{ 0x3c, 4, "RESERVED" },
 	{ 0x40, 4, "GPIO_USE_SEL3" },
-	{ 0x44, 4, "GPIO_SEL3" },
+	{ 0x44, 4, "GP_IO_SEL3" },
 	{ 0x48, 4, "GPIO_LVL3" },
 	{ 0x4c, 4, "RESERVED" },
 	{ 0x50, 4, "RESERVED" },
-- 
cgit v1.2.3