summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/sc7180/qspi.c
diff options
context:
space:
mode:
authorRavi Kumar Bokka <rbokka@codeaurora.org>2021-07-10 23:54:20 +0530
committerFelix Held <felix-coreboot@felixheld.de>2021-07-21 16:13:54 +0000
commita8e9dbae65cad1a9c655aa5f71bfe3b097348843 (patch)
treec1d332fcaf873fb9d4d18dbc454f1a699cdb83f6 /src/soc/qualcomm/sc7180/qspi.c
parentec4cc8b2ac5fa64da2115f2eb484d4927fb2766c (diff)
sc7180: Renaming the GPIO macro in QSPI and I2C driver
As part of GPIO driver cleanup across qcom chipsets, GPIO_OUTPUT_ENABLE has been renamed to GPIO_OUTPUT. BUG=b:182963902 TEST=Validated on qualcomm sc7180 development board Signed-off-by: Rajesh Patil <rajpat@codeaurora.org> Change-Id: I51eedc722a91c5ea8e009fb8468a60667d374b49 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56194 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Shelley Chen <shchen@google.com>
Diffstat (limited to 'src/soc/qualcomm/sc7180/qspi.c')
-rw-r--r--src/soc/qualcomm/sc7180/qspi.c6
1 files changed, 3 insertions, 3 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,