summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/ipq40xx
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-03-23 15:13:55 +0100
committerElyes Haouas <ehaouas@noos.fr>2024-03-30 07:44:06 +0000
commit44772b29b09fcebe2bd1b392c9dd2c652b3f64d2 (patch)
treeff818a2e13ee2f506c704c9769b64d76ca63de20 /src/soc/qualcomm/ipq40xx
parent43225cbdfadca1054d95da901e23c53aa363272a (diff)
soc/qualcomm: Remove blank lines before '}' and after '{'
Change-Id: If2c2138ed3dc437b924297330805caa8c357853d Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81460 Reviewed-by: Eric Lai <ericllai@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/qualcomm/ipq40xx')
-rw-r--r--src/soc/qualcomm/ipq40xx/blobs_init.c1
-rw-r--r--src/soc/qualcomm/ipq40xx/qup.c1
-rw-r--r--src/soc/qualcomm/ipq40xx/spi.c6
3 files changed, 0 insertions, 8 deletions
diff --git a/src/soc/qualcomm/ipq40xx/blobs_init.c b/src/soc/qualcomm/ipq40xx/blobs_init.c
index ef19053692..14b37daa38 100644
--- a/src/soc/qualcomm/ipq40xx/blobs_init.c
+++ b/src/soc/qualcomm/ipq40xx/blobs_init.c
@@ -113,5 +113,4 @@ void start_tzbsp(void)
printk(BIOS_INFO, "Starting TZBSP\n");
tz_init_wrapper(0, 0, tzbsp);
-
}
diff --git a/src/soc/qualcomm/ipq40xx/qup.c b/src/soc/qualcomm/ipq40xx/qup.c
index 88e9169ec7..9627cbe625 100644
--- a/src/soc/qualcomm/ipq40xx/qup.c
+++ b/src/soc/qualcomm/ipq40xx/qup.c
@@ -199,7 +199,6 @@ static qup_return_t qup_i2c_write_fifo(blsp_qup_id_t id, qup_data_t *p_tx_obj,
stopwatch_init_usecs_expire(&timeout, CONFIG_I2C_TRANSFER_TIMEOUT_US);
while (data_len) {
-
tag = qup_i2c_create_output_tag(data_len == 1 && stop_seq,
data_ptr[idx]);
data_len--;
diff --git a/src/soc/qualcomm/ipq40xx/spi.c b/src/soc/qualcomm/ipq40xx/spi.c
index ab8f53016f..cf5c214f32 100644
--- a/src/soc/qualcomm/ipq40xx/spi.c
+++ b/src/soc/qualcomm/ipq40xx/spi.c
@@ -74,10 +74,8 @@ static int check_bit_state(void *reg_addr, int mask,
*/
static int check_qup_state_valid(struct ipq_spi_slave *ds)
{
-
return check_bit_state(ds->regs->qup_state, QUP_STATE_VALID_MASK,
QUP_STATE_VALID, 1);
-
}
/*
@@ -297,7 +295,6 @@ static void write_force_cs(const struct spi_slave *slave, int assert)
else
clrsetbits32(ds->regs->io_control,
SPI_IO_CTRL_FORCE_CS_MSK, SPI_IO_CTRL_FORCE_CS_DIS);
-
}
/*
@@ -354,7 +351,6 @@ static int check_fifo_status(void *reg_addr)
static void enable_io_config(struct ipq_spi_slave *ds,
uint32_t write_cnt, uint32_t read_cnt)
{
-
if (write_cnt) {
clrsetbits32(ds->regs->qup_config,
QUP_CONF_OUTPUT_MSK, QUP_CONF_OUTPUT_ENA);
@@ -370,7 +366,6 @@ static void enable_io_config(struct ipq_spi_slave *ds,
clrsetbits32(ds->regs->qup_config,
QUP_CONF_INPUT_MSK, QUP_CONF_NO_INPUT);
}
-
}
/*
@@ -486,7 +481,6 @@ static int __blsp_spi_write(struct ipq_spi_slave *ds, const u8 *cmd_buffer,
* to get the actual data on the subsequent read cycle that happens
*/
while (write_len || read_len) {
-
ret = check_fifo_status(ds->regs->qup_operational);
if (ret != SUCCESS)
goto out;