ram: rk3399: s/rk3399_base_params/sdram_base_params
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 15 Jul 2019 18:21:06 +0000 (23:51 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 19 Jul 2019 03:11:09 +0000 (11:11 +0800)
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>
arch/arm/include/asm/arch-rockchip/sdram_rk3399.h

index 683093d4ca916ee26a3ea3b7d4a42ab819ce7738..5614b94ecba77a03e20e6dcb44c0989b6aad8c80 100644 (file)
@@ -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;