summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/qcs405
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-08-19 21:45:02 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-09-21 16:27:16 +0000
commitb69bbfe1ef52421f0bbe1e632d99dc264660ee02 (patch)
tree75562ab0ead6e99593f5eb46e4a5fd6b84524af4 /src/soc/qualcomm/qcs405
parentf91bcb310bae7478104304bd18c75cdd73a1e229 (diff)
soc/qualcomm: Drop unneeded empty lines
Change-Id: If76502ff91896959ef171c192b4fc138dff18fc6 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44599 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/soc/qualcomm/qcs405')
-rw-r--r--src/soc/qualcomm/qcs405/include/soc/addressmap.h1
-rw-r--r--src/soc/qualcomm/qcs405/include/soc/blsp.h1
-rw-r--r--src/soc/qualcomm/qcs405/include/soc/cdp.h1
-rw-r--r--src/soc/qualcomm/qcs405/include/soc/gpio.h1
-rw-r--r--src/soc/qualcomm/qcs405/include/soc/qup.h1
-rw-r--r--src/soc/qualcomm/qcs405/include/soc/spi.h2
-rw-r--r--src/soc/qualcomm/qcs405/include/soc/uart.h1
-rw-r--r--src/soc/qualcomm/qcs405/qup.c1
-rw-r--r--src/soc/qualcomm/qcs405/uart.c1
-rw-r--r--src/soc/qualcomm/qcs405/usb.c1
10 files changed, 0 insertions, 11 deletions
diff --git a/src/soc/qualcomm/qcs405/include/soc/addressmap.h b/src/soc/qualcomm/qcs405/include/soc/addressmap.h
index 1d46071b21..b21ae26b71 100644
--- a/src/soc/qualcomm/qcs405/include/soc/addressmap.h
+++ b/src/soc/qualcomm/qcs405/include/soc/addressmap.h
@@ -3,7 +3,6 @@
#ifndef __SOC_QUALCOMM_QCS405_ADDRESS_MAP_H__
#define __SOC_QUALCOMM_QCS405_ADDRESS_MAP_H__
-
#define QSPI_BASE 0x88DF000
#define TLMM_EAST_TILE_BASE 0x7B00000
#define TLMM_NORTH_TILE_BASE 0x1300000
diff --git a/src/soc/qualcomm/qcs405/include/soc/blsp.h b/src/soc/qualcomm/qcs405/include/soc/blsp.h
index 7671539c1a..cbef2084a9 100644
--- a/src/soc/qualcomm/qcs405/include/soc/blsp.h
+++ b/src/soc/qualcomm/qcs405/include/soc/blsp.h
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
-
#ifndef __BLSP_H_
#define __BLSP_H_
diff --git a/src/soc/qualcomm/qcs405/include/soc/cdp.h b/src/soc/qualcomm/qcs405/include/soc/cdp.h
index 8c25631dbd..7c4286049e 100644
--- a/src/soc/qualcomm/qcs405/include/soc/cdp.h
+++ b/src/soc/qualcomm/qcs405/include/soc/cdp.h
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
-
#ifndef _QCS405_CDP_H_
#define _QCS405_CDP_H_
diff --git a/src/soc/qualcomm/qcs405/include/soc/gpio.h b/src/soc/qualcomm/qcs405/include/soc/gpio.h
index 86be1b0cc1..18f77816de 100644
--- a/src/soc/qualcomm/qcs405/include/soc/gpio.h
+++ b/src/soc/qualcomm/qcs405/include/soc/gpio.h
@@ -17,7 +17,6 @@ typedef struct {
#define TLMM_GPIO_IN_OUT_OFF 0x4
#define TLMM_GPIO_ID_STATUS_OFF 0x10
-
/* GPIO INTR CFG MASK */
#define GPIO_INTR_DECT_CTL_MASK 0x3
#define GPIO_INTR_RAW_STATUS_EN_MASK 0x1
diff --git a/src/soc/qualcomm/qcs405/include/soc/qup.h b/src/soc/qualcomm/qcs405/include/soc/qup.h
index f758a22d05..d0959c6fac 100644
--- a/src/soc/qualcomm/qcs405/include/soc/qup.h
+++ b/src/soc/qualcomm/qcs405/include/soc/qup.h
@@ -3,7 +3,6 @@
#ifndef __QUP_H__
#define __QUP_H__
-
/* QUP block registers */
#define QUP_CONFIG 0x000
#define QUP_STATE 0x004
diff --git a/src/soc/qualcomm/qcs405/include/soc/spi.h b/src/soc/qualcomm/qcs405/include/soc/spi.h
index cfd98ad969..4fe647453a 100644
--- a/src/soc/qualcomm/qcs405/include/soc/spi.h
+++ b/src/soc/qualcomm/qcs405/include/soc/spi.h
@@ -155,7 +155,6 @@ struct blsp_spi {
void *qup_deassert_wait;
};
-
#define SUCCESS 0
#define DUMMY_DATA_VAL 0
@@ -169,7 +168,6 @@ struct blsp_spi {
* (count function disabled) and does not hold significance in the count. */
#define MAX_PACKET_COUNT ((64 * KiB) - 1)
-
struct qcs_spi_slave {
struct spi_slave slave;
const struct blsp_spi *regs;
diff --git a/src/soc/qualcomm/qcs405/include/soc/uart.h b/src/soc/qualcomm/qcs405/include/soc/uart.h
index e3f0cfd5ee..c222add717 100644
--- a/src/soc/qualcomm/qcs405/include/soc/uart.h
+++ b/src/soc/qualcomm/qcs405/include/soc/uart.h
@@ -10,7 +10,6 @@
extern void __udelay(unsigned long usec);
-
enum MSM_BOOT_UART_DM_PARITY_MODE {
MSM_BOOT_UART_DM_NO_PARITY,
MSM_BOOT_UART_DM_ODD_PARITY,
diff --git a/src/soc/qualcomm/qcs405/qup.c b/src/soc/qualcomm/qcs405/qup.c
index 3ba4ba6874..316cd9fed0 100644
--- a/src/soc/qualcomm/qcs405/qup.c
+++ b/src/soc/qualcomm/qcs405/qup.c
@@ -60,7 +60,6 @@ static void i2c_set_mstr_clk_ctl(unsigned int id, unsigned int hz)
qup_write32(QUP_ADDR(id, QUP_I2C_MASTER_CLK_CTL), mstr_clk_ctl);
}
-
static qup_return_t qup_i2c_master_status(blsp_qup_id_t id)
{
uint32_t reg_val = read32(QUP_ADDR(id, QUP_I2C_MASTER_STATUS));
diff --git a/src/soc/qualcomm/qcs405/uart.c b/src/soc/qualcomm/qcs405/uart.c
index ac72998cb6..97f9e76520 100644
--- a/src/soc/qualcomm/qcs405/uart.c
+++ b/src/soc/qualcomm/qcs405/uart.c
@@ -89,7 +89,6 @@ static int valid_data = 0;
/* Received data */
static unsigned int word = 0;
-
void uart_tx_byte(unsigned int idx, unsigned char data)
{
int num_of_chars = 1;
diff --git a/src/soc/qualcomm/qcs405/usb.c b/src/soc/qualcomm/qcs405/usb.c
index 738e56fb05..19d1e0e3e7 100644
--- a/src/soc/qualcomm/qcs405/usb.c
+++ b/src/soc/qualcomm/qcs405/usb.c
@@ -197,7 +197,6 @@ void setup_usb_host(enum usb_port port, struct usb_board_data *board_data)
/* Clear core reset. */
clock_reset_bcr(dwc3->usb3_bcr, 0);
-
if (port == HSUSB_SS_PORT_0) {
/* Set PHY reset. */
setbits32(&dwc3->usb2_phy_bcr, BIT(1));