summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMoritz Fischer <moritzf@google.com>2021-02-19 17:56:10 -0800
committerPatrick Georgi <pgeorgi@google.com>2021-02-22 07:21:48 +0000
commit619c60f94cc00251bfaedde4f1764e2f96dcdecd (patch)
treee2310e48773e9e667f1dbd664e6b39710795a230 /src
parent63b87e985c6f7a949da5115777934161d560bc21 (diff)
downloadcoreboot-619c60f94cc00251bfaedde4f1764e2f96dcdecd.tar.xz
soc/rockchip/rk3399/sdram: Remove superfluous parameter
Remove extra parameter in phy_dll_bypass_set, since it does not depend on the channel at hand. Signed-off-by: Moritz Fischer <moritzf@google.com> Change-Id: Iae09a6053daf58bf12604e1903c754dc9f1e986f Reviewed-on: https://review.coreboot.org/c/coreboot/+/50965 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: ron minnich <rminnich@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src')
-rw-r--r--src/soc/rockchip/rk3399/sdram.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/rockchip/rk3399/sdram.c b/src/soc/rockchip/rk3399/sdram.c
index 07c149de84..7a9f0ba883 100644
--- a/src/soc/rockchip/rk3399/sdram.c
+++ b/src/soc/rockchip/rk3399/sdram.c
@@ -114,8 +114,8 @@ static void phy_pctrl_reset(u32 channel)
udelay(10);
}
-static void phy_dll_bypass_set(u32 channel,
- struct rk3399_ddr_publ_regs *ddr_publ_regs, u32 freq)
+static void phy_dll_bypass_set(struct rk3399_ddr_publ_regs *ddr_publ_regs,
+ u32 freq)
{
u32 *denali_phy = ddr_publ_regs->denali_phy;
@@ -1115,7 +1115,7 @@ void sdram_init(const struct rk3399_sdram_params *params)
for (channel = 0; channel < 2; channel++) {
phy_pctrl_reset(channel);
- phy_dll_bypass_set(channel, rk3399_ddr_publ[channel], ddr_freq);
+ phy_dll_bypass_set(rk3399_ddr_publ[channel], ddr_freq);
if (channel >= params->num_channels)
continue;