summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/ipq806x
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/ipq806x
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/ipq806x')
-rw-r--r--src/soc/qualcomm/ipq806x/gpio.c4
-rw-r--r--src/soc/qualcomm/ipq806x/include/soc/clock.h1
-rw-r--r--src/soc/qualcomm/ipq806x/include/soc/gsbi.h1
-rw-r--r--src/soc/qualcomm/ipq806x/include/soc/iomap.h1
-rw-r--r--src/soc/qualcomm/ipq806x/include/soc/ipq_uart.h1
-rw-r--r--src/soc/qualcomm/ipq806x/spi.c2
6 files changed, 0 insertions, 10 deletions
diff --git a/src/soc/qualcomm/ipq806x/gpio.c b/src/soc/qualcomm/ipq806x/gpio.c
index 2e2a8af8d8..e7874a786a 100644
--- a/src/soc/qualcomm/ipq806x/gpio.c
+++ b/src/soc/qualcomm/ipq806x/gpio.c
@@ -17,7 +17,6 @@ static inline int gpio_not_valid(gpio_t gpio)
return (gpio > GPIO_MAX_NUM);
}
-
/*******************************************************
Function description: configure GPIO functinality
Arguments :
@@ -30,7 +29,6 @@ unsigned enable - 0 Disable, 1 - Enable.
Return : None
*******************************************************/
-
void gpio_tlmm_config_set(gpio_t gpio, unsigned int func,
unsigned int pull, unsigned int drvstr,
unsigned int enable)
@@ -60,7 +58,6 @@ unsigned *enable - 0 - Disable, 1- Enable.
Return : None
*******************************************************/
-
void gpio_tlmm_config_get(gpio_t gpio, unsigned int *func,
unsigned int *pull, unsigned int *drvstr,
unsigned int *enable)
@@ -93,7 +90,6 @@ int gpio_get(gpio_t gpio)
if (gpio_not_valid(gpio))
return -1;
-
return (read32(GPIO_IN_OUT_ADDR(gpio)) >> GPIO_IO_IN_SHIFT) &
GPIO_IO_IN_MASK;
}
diff --git a/src/soc/qualcomm/ipq806x/include/soc/clock.h b/src/soc/qualcomm/ipq806x/include/soc/clock.h
index d7cb3c484d..79a5a2dd89 100644
--- a/src/soc/qualcomm/ipq806x/include/soc/clock.h
+++ b/src/soc/qualcomm/ipq806x/include/soc/clock.h
@@ -156,7 +156,6 @@
#define GMAC_COREn_CLCK_INV_DISABLE (0 << 5)
#define GMAC_COREn_CLCK_BRANCH_ENA (1 << 4)
-
/* Uart specific clock settings */
void uart_pll_vote_clk_enable(unsigned int);
diff --git a/src/soc/qualcomm/ipq806x/include/soc/gsbi.h b/src/soc/qualcomm/ipq806x/include/soc/gsbi.h
index 29a56e73ca..323b47d449 100644
--- a/src/soc/qualcomm/ipq806x/include/soc/gsbi.h
+++ b/src/soc/qualcomm/ipq806x/include/soc/gsbi.h
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: ISC */
-
#ifndef __GSBI_H_
#define __GSBI_H_
diff --git a/src/soc/qualcomm/ipq806x/include/soc/iomap.h b/src/soc/qualcomm/ipq806x/include/soc/iomap.h
index e9e3e04995..98a891141c 100644
--- a/src/soc/qualcomm/ipq806x/include/soc/iomap.h
+++ b/src/soc/qualcomm/ipq806x/include/soc/iomap.h
@@ -122,7 +122,6 @@
#define GSBI_QUP_APPS_PRE_DIV_SFT 3
#define GSBI_QUP_APPS_SRC_SEL_MSK 0x7
-
#define GSBI_QUP_APSS_MD_REG(gsbi_n) ((MSM_CLK_CTL_BASE + 0x29c8) + \
(32*(gsbi_n-1)))
#define GSBI_QUP_APSS_NS_REG(gsbi_n) ((MSM_CLK_CTL_BASE + 0x29cc) + \
diff --git a/src/soc/qualcomm/ipq806x/include/soc/ipq_uart.h b/src/soc/qualcomm/ipq806x/include/soc/ipq_uart.h
index ef499197b7..5903652d25 100644
--- a/src/soc/qualcomm/ipq806x/include/soc/ipq_uart.h
+++ b/src/soc/qualcomm/ipq806x/include/soc/ipq_uart.h
@@ -11,7 +11,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/ipq806x/spi.c b/src/soc/qualcomm/ipq806x/spi.c
index d65f0fd381..2b18bda608 100644
--- a/src/soc/qualcomm/ipq806x/spi.c
+++ b/src/soc/qualcomm/ipq806x/spi.c
@@ -32,7 +32,6 @@
#define GSBI_IDX_TO_GSBI(idx) (idx + 5)
-
/* MX_INPUT_COUNT and MX_OUTPUT_COUNT are 16-bits. Zero has a special meaning
* (count function disabled) and does not hold significance in the count. */
#define MAX_PACKET_COUNT ((64 * KiB) - 1)
@@ -141,7 +140,6 @@ static unsigned int qup_apps_clk_state[NUM_PORTS] = {
GSBI7_QUP_APPS_CLK
};
-
static int check_bit_state(uint32_t reg_addr, int bit_num, int val, int us_delay)
{
unsigned int count = TIMEOUT_CNT;