From 8cb974e83e00c126fc967d9c2eec307ac72fa6a2 Mon Sep 17 00:00:00 2001 From: Derek Basehore Date: Mon, 20 Jun 2016 14:06:42 -0700 Subject: rockchip/rk3399: Remove empty function in sdram.c This removes an empty function for sdram training. If it's needed later, we can always add it back. BRANCH=none BUG=none TEST=build and boot firmware for kevin/gru Change-Id: Id526ef86cf5044894a1a736cc39f10d32f49c072 Signed-off-by: Martin Roth Original-Commit-Id: 3e93461b96bfadc08bf0b46cf99052d9cdffa422 Original-Change-Id: I6bf77d2f81719c68cd78722c3fe9ae547ea1e79c Original-Signed-off-by: Derek Basehore Original-Reviewed-on: https://chromium-review.googlesource.com/354164 Original-Reviewed-by: Martin Roth Reviewed-on: https://review.coreboot.org/15657 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/soc/rockchip/rk3399/sdram.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/soc') diff --git a/src/soc/rockchip/rk3399/sdram.c b/src/soc/rockchip/rk3399/sdram.c index 47fa09819d..5ef6479399 100644 --- a/src/soc/rockchip/rk3399/sdram.c +++ b/src/soc/rockchip/rk3399/sdram.c @@ -111,10 +111,6 @@ static void copy_to_reg(u32 *dest, const u32 *src, u32 n) } } -static void ddr_move_to_access_state(u32 channel) -{ -} - static void phy_dll_bypass_set(u32 channel, struct rk3399_ddr_publ_regs *ddr_publ_regs, u32 freq) { @@ -955,7 +951,6 @@ void sdram_init(const struct rk3399_sdram_params *sdram_params) set_ddrconfig(sdram_params, channel, sdram_params->ch[channel].ddrconfig); - ddr_move_to_access_state(channel); } dram_all_config(sdram_params); printk(BIOS_INFO, "Finish SDRAM initialization...\n"); -- cgit v1.2.3