summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chip/it83xx/gpio.c2
-rw-r--r--chip/it83xx/lpc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/chip/it83xx/gpio.c b/chip/it83xx/gpio.c
index cf0e51a727..ea29ace11c 100644
--- a/chip/it83xx/gpio.c
+++ b/chip/it83xx/gpio.c
@@ -395,6 +395,8 @@ void gpio_pre_init(void)
int flags;
int i;
+ IT83XX_GPIO_GCR = 0x06;
+
for (i = 0; i < GPIO_COUNT; i++, g++) {
flags = g->flags;
diff --git a/chip/it83xx/lpc.c b/chip/it83xx/lpc.c
index 3f7dc82a57..02a81c2bd0 100644
--- a/chip/it83xx/lpc.c
+++ b/chip/it83xx/lpc.c
@@ -572,8 +572,6 @@ static void lpc_init(void)
*/
IT83XX_GCTRL_MCCR2 |= 0x10;
- IT83XX_GPIO_GCR = 0x06;
-
/* The register pair to access PNPCFG is 004Eh and 004Fh */
IT83XX_GCTRL_BADRSEL = 0x01;