summaryrefslogtreecommitdiff
path: root/chip/g/ite_flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/g/ite_flash.c')
-rw-r--r--chip/g/ite_flash.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/chip/g/ite_flash.c b/chip/g/ite_flash.c
index b4e1699a08..d010e7beca 100644
--- a/chip/g/ite_flash.c
+++ b/chip/g/ite_flash.c
@@ -57,9 +57,9 @@ void generate_ite_sync(void)
(both_one >> 8) * 4);
/*
- * Let's take over the i2c master pins. Connect pads DIOB0(aka i2c
- * scl) to gpio0.12 and DIOB1(aka sda) to gpio0.13. I2c master
- * controller is disconnected from the pads.
+ * Let's take over the i2c controller pins. Connect pads DIOB0(aka i2c
+ * scl) to gpio0.12 and DIOB1(aka sda) to gpio0.13. I2c controller
+ * is disconnected from the pads.
*/
REG32(GBASE(PINMUX) + GOFFSET(PINMUX, DIOB0_SEL)) =
GC_PINMUX_GPIO0_GPIO12_SEL;
@@ -86,10 +86,7 @@ void generate_ite_sync(void)
interrupt_enable();
- /*
- * Restore I2C configuration, re-attach i2c master controller to the
- * pads.
- */
+ /* Restore I2C configuration, re-attach i2c controller to the pads. */
REG32(GBASE(PINMUX) + GOFFSET(PINMUX, DIOB0_SEL)) =
GC_PINMUX_I2C0_SCL_SEL;
REG32(GBASE(PINMUX) + GOFFSET(PINMUX, DIOB1_SEL)) =