aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJagan Teki2019-07-15 23:51:06 +0530
committerKever Yang2019-07-19 11:11:09 +0800
commit1372a6ec47d79dfc3718150e3074b7e154793dce (patch)
treee1ea2dc7bc67299a73d9443d7711d5782e750a29
parent355490dc5c03f42033efd55940d3a6192b70656d (diff)
ram: rk3399: s/rk3399_base_params/sdram_base_params
Most of the ddr parameters are common in rk3399_base_params structure and which would reuse it in another controller like px30 in future. So, rename the structure from rk3399_base_params into sdram_base_params. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: YouMin Chen <cym@rock-chips.com> Reviewed-by: Kever Yang <Kever.yang@rock-chips.com>
-rw-r--r--arch/arm/include/asm/arch-rockchip/sdram_rk3399.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-rockchip/sdram_rk3399.h b/arch/arm/include/asm/arch-rockchip/sdram_rk3399.h
index 683093d4ca9..5614b94ecba 100644
--- a/arch/arm/include/asm/arch-rockchip/sdram_rk3399.h
+++ b/arch/arm/include/asm/arch-rockchip/sdram_rk3399.h
@@ -96,7 +96,7 @@ struct rk3399_sdram_channel {
struct rk3399_msch_timings noc_timings;
};
-struct rk3399_base_params {
+struct sdram_base_params {
unsigned int ddr_freq;
unsigned int dramtype;
unsigned int num_channels;
@@ -106,7 +106,7 @@ struct rk3399_base_params {
struct rk3399_sdram_params {
struct rk3399_sdram_channel ch[2];
- struct rk3399_base_params base;
+ struct sdram_base_params base;
struct rk3399_ddr_pctl_regs pctl_regs;
struct rk3399_ddr_pi_regs pi_regs;
struct rk3399_ddr_publ_regs phy_regs;