From: Marek Vasut Date: Sat, 13 Jul 2024 13:19:14 +0000 (+0200) Subject: arm: mach: sunxi: Remove duplicate newlines X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-favicon.png?a=commitdiff_plain;h=18a7792677f688fee8d7f59633dc62146cdf4425;p=u-boot.git arm: mach: sunxi: Remove duplicate newlines Drop all duplicate newlines. No functional change. Signed-off-by: Marek Vasut --- diff --git a/arch/arm/mach-sunxi/clock_sun8i_a83t.c b/arch/arm/mach-sunxi/clock_sun8i_a83t.c index 9eeba084f9..c00d16a918 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 5913e40cb6..abdab40544 100644 --- a/arch/arm/mach-sunxi/clock_sun9i.c +++ b/arch/arm/mach-sunxi/clock_sun9i.c @@ -14,7 +14,6 @@ #include #include - #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 ef833321e3..dd0fc37b76 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 002b6df39d..58ecbb9835 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 e064ef329e..4ed295909c 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 */