summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/qualcomm')
-rw-r--r--src/soc/qualcomm/sc7180/qspi.c6
-rw-r--r--src/soc/qualcomm/sc7180/qupv3_i2c.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/soc/qualcomm/sc7180/qspi.c b/src/soc/qualcomm/sc7180/qspi.c
index c1e9779736..825e298a73 100644
--- a/src/soc/qualcomm/sc7180/qspi.c
+++ b/src/soc/qualcomm/sc7180/qspi.c
@@ -146,13 +146,13 @@ static void configure_gpios(void)
gpio_output(GPIO(68), 1);
gpio_configure(GPIO(64), GPIO64_FUNC_QSPI_DATA_0,
- GPIO_NO_PULL, GPIO_2MA, GPIO_OUTPUT_ENABLE);
+ GPIO_NO_PULL, GPIO_2MA, GPIO_OUTPUT);
gpio_configure(GPIO(65), GPIO65_FUNC_QSPI_DATA_1,
- GPIO_NO_PULL, GPIO_2MA, GPIO_OUTPUT_ENABLE);
+ GPIO_NO_PULL, GPIO_2MA, GPIO_OUTPUT);
gpio_configure(GPIO(63), GPIO63_FUNC_QSPI_CLK,
- GPIO_NO_PULL, GPIO_8MA, GPIO_OUTPUT_ENABLE);
+ GPIO_NO_PULL, GPIO_8MA, GPIO_OUTPUT);
}
static void queue_bounce_data(uint8_t *data, uint32_t data_bytes,
diff --git a/src/soc/qualcomm/sc7180/qupv3_i2c.c b/src/soc/qualcomm/sc7180/qupv3_i2c.c
index c9adba4fbf..5dc4d314b1 100644
--- a/src/soc/qualcomm/sc7180/qupv3_i2c.c
+++ b/src/soc/qualcomm/sc7180/qupv3_i2c.c
@@ -92,9 +92,9 @@ void i2c_init(unsigned int bus, enum i2c_speed speed)
/* GPIO Configuration */
gpio_configure(qup[bus].pin[0], qup[bus].func[0], GPIO_PULL_UP,
- GPIO_2MA, GPIO_OUTPUT_ENABLE);
+ GPIO_2MA, GPIO_OUTPUT);
gpio_configure(qup[bus].pin[1], qup[bus].func[1], GPIO_PULL_UP,
- GPIO_2MA, GPIO_OUTPUT_ENABLE);
+ GPIO_2MA, GPIO_OUTPUT);
/* Select and setup FIFO mode */
write32(&regs->geni_m_irq_clear, 0xFFFFFFFF);