diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2024-07-20 14:40:50 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-07-22 10:53:05 -0600 |
commit | 3ba14895d30f10f29d4cc45e84fa62e03582734a (patch) | |
tree | b25f4bde6f351722971786345b740132bc541cc9 /drivers/ram | |
parent | 43262e78b1498113be1375a93a4781eba270dd66 (diff) | |
download | u-boot-3ba14895d30f10f29d4cc45e84fa62e03582734a.zip u-boot-3ba14895d30f10f29d4cc45e84fa62e03582734a.tar.gz u-boot-3ba14895d30f10f29d4cc45e84fa62e03582734a.tar.bz2 |
drivers: ram: Remove duplicate newlines
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'drivers/ram')
-rw-r--r-- | drivers/ram/rockchip/dmc-rk3368.c | 3 | ||||
-rw-r--r-- | drivers/ram/stm32_sdram.c | 2 | ||||
-rw-r--r-- | drivers/ram/stm32mp1/stm32mp1_ddr.c | 1 |
3 files changed, 0 insertions, 6 deletions
diff --git a/drivers/ram/rockchip/dmc-rk3368.c b/drivers/ram/rockchip/dmc-rk3368.c index 42114a5..ab08727 100644 --- a/drivers/ram/rockchip/dmc-rk3368.c +++ b/drivers/ram/rockchip/dmc-rk3368.c @@ -138,7 +138,6 @@ enum { #define DDR3_MR2_TWL(n) \ (((n - 5) & 0x7) << 3) - #ifdef CONFIG_TPL_BUILD static void ddr_set_noc_spr_err_stall(struct rk3368_grf *grf, bool enable) @@ -524,7 +523,6 @@ static int pctl_calc_timings(struct rk3368_sdram_params *params, pctl_timing->tckesr = pctl_timing->tcke + 1; /* JESD-79: tCKE + 1tCK */ pctl_timing->tdpd = 0; /* RK3368 TRM: "allowed values for DDR3: 0" */ - /* * The controller can represent tFAW as 4x, 5x or 6x tRRD only. * We want to use the smallest multiplier that satisfies the tFAW @@ -987,7 +985,6 @@ static struct ram_ops rk3368_dmc_ops = { .get_info = rk3368_dmc_get_info, }; - static const struct udevice_id rk3368_dmc_ids[] = { { .compatible = "rockchip,rk3368-dmc" }, { } diff --git a/drivers/ram/stm32_sdram.c b/drivers/ram/stm32_sdram.c index 10dc05d..954995c 100644 --- a/drivers/ram/stm32_sdram.c +++ b/drivers/ram/stm32_sdram.c @@ -333,7 +333,6 @@ static int stm32_fmc_of_to_plat(struct udevice *dev) return -EINVAL; } - params->bank_params[bank].sdram_timing = (struct stm32_sdram_timing *) ofnode_read_u8_array_ptr(bank_node, @@ -346,7 +345,6 @@ static int stm32_fmc_of_to_plat(struct udevice *dev) return -EINVAL; } - bank_params->sdram_ref_count = ofnode_read_u32_default(bank_node, "st,sdram-refcount", 8196); bank++; diff --git a/drivers/ram/stm32mp1/stm32mp1_ddr.c b/drivers/ram/stm32mp1/stm32mp1_ddr.c index d7834b3..0e37ea9 100644 --- a/drivers/ram/stm32mp1/stm32mp1_ddr.c +++ b/drivers/ram/stm32mp1/stm32mp1_ddr.c @@ -707,7 +707,6 @@ void stm32mp1_ddr_init(struct ddr_info *priv, break; } - if (config->c_reg.mstr & DDRCTRL_MSTR_DDR3) ret = board_ddr_power_init(STM32MP_DDR3); else if (config->c_reg.mstr & DDRCTRL_MSTR_LPDDR2) { |