[PATCH 23/45] arm: mach: sunxi: Remove duplicate newlines
Marek Vasut
marek.vasut+renesas at mailbox.org
Sat Jul 13 15:19:14 CEST 2024
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
---
Cc: Francesco Dolcini <francesco.dolcini at toradex.com>
Cc: Sean Anderson <seanga2 at gmail.com>
Cc: Simon Glass <sjg at chromium.org>
Cc: Tom Rini <trini at konsulko.com>
Cc: u-boot at lists.denx.de
---
arch/arm/mach-sunxi/clock_sun8i_a83t.c | 1 -
arch/arm/mach-sunxi/clock_sun9i.c | 2 --
arch/arm/mach-sunxi/dram_sun8i_a83t.c | 1 -
arch/arm/mach-sunxi/dram_sun9i.c | 1 -
arch/arm/mach-sunxi/dram_sunxi_dw.c | 1 -
5 files changed, 6 deletions(-)
diff --git a/arch/arm/mach-sunxi/clock_sun8i_a83t.c b/arch/arm/mach-sunxi/clock_sun8i_a83t.c
index 9eeba084f95..c00d16a918d 100644
--- a/arch/arm/mach-sunxi/clock_sun8i_a83t.c
+++ b/arch/arm/mach-sunxi/clock_sun8i_a83t.c
@@ -118,7 +118,6 @@ void clock_set_pll5(unsigned int clk)
udelay(5500);
}
-
unsigned int clock_get_pll6(void)
{
struct sunxi_ccm_reg *const ccm =
diff --git a/arch/arm/mach-sunxi/clock_sun9i.c b/arch/arm/mach-sunxi/clock_sun9i.c
index 5913e40cb65..abdab405445 100644
--- a/arch/arm/mach-sunxi/clock_sun9i.c
+++ b/arch/arm/mach-sunxi/clock_sun9i.c
@@ -14,7 +14,6 @@
#include <asm/arch/prcm.h>
#include <asm/arch/sys_proto.h>
-
#ifdef CONFIG_SPL_BUILD
static void clock_set_pll2(unsigned int clk)
@@ -166,7 +165,6 @@ void clock_set_pll6(unsigned int clk)
sdelay(2000);
}
-
int clock_twi_onoff(int port, int state)
{
struct sunxi_ccm_reg *const ccm =
diff --git a/arch/arm/mach-sunxi/dram_sun8i_a83t.c b/arch/arm/mach-sunxi/dram_sun8i_a83t.c
index ef833321e37..dd0fc37b763 100644
--- a/arch/arm/mach-sunxi/dram_sun8i_a83t.c
+++ b/arch/arm/mach-sunxi/dram_sun8i_a83t.c
@@ -284,7 +284,6 @@ static int mctl_channel_init(struct dram_para *para)
writel(0x0, MCTL_PROTECT);
udelay(100);
-
/* Set ODT */
if (IS_ENABLED(CONFIG_DRAM_ODT_EN))
rval = 0x0;
diff --git a/arch/arm/mach-sunxi/dram_sun9i.c b/arch/arm/mach-sunxi/dram_sun9i.c
index 002b6df39d5..58ecbb98356 100644
--- a/arch/arm/mach-sunxi/dram_sun9i.c
+++ b/arch/arm/mach-sunxi/dram_sun9i.c
@@ -262,7 +262,6 @@ static void mctl_sys_init(void)
reg_val |= ((0x1<<24)|(0x1<<30));
mctl_write_w(CCM_PLL6_DDR_REG, reg_val);
-
while(mctl_read_w(CCM_PLL6_DDR_REG) & (0x1<<30));
}
diff --git a/arch/arm/mach-sunxi/dram_sunxi_dw.c b/arch/arm/mach-sunxi/dram_sunxi_dw.c
index e064ef329e6..4ed295909ce 100644
--- a/arch/arm/mach-sunxi/dram_sunxi_dw.c
+++ b/arch/arm/mach-sunxi/dram_sunxi_dw.c
@@ -650,7 +650,6 @@ static int mctl_channel_init(uint16_t socid, struct dram_para *para)
return 0;
}
-
static void mctl_auto_detect_dram_size_rank(uint16_t socid, struct dram_para *para, ulong base, struct rank_para *rank)
{
/* detect row address bits */
--
2.43.0
More information about the U-Boot
mailing list