diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2019-07-16 17:27:06 +0530 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-07-20 23:59:44 +0800 |
commit | a735550bb8471a170247fad5376d0086b15ddedd (patch) | |
tree | 20b51261bcb82bccc4709b0eb58b64068a317a1c /drivers/ram | |
parent | ed77ce728aa2cd2c8b1c01ec3a0f2efb8f3edc26 (diff) | |
download | u-boot-a735550bb8471a170247fad5376d0086b15ddedd.tar.gz u-boot-a735550bb8471a170247fad5376d0086b15ddedd.tar.xz u-boot-a735550bb8471a170247fad5376d0086b15ddedd.zip |
ram: rk3399: Add DdrMode
Add DdrMode structure with associated bit fields.
These would help to reconfigure sdram capabilities during
lpddr4 setup related configs.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <Kever.yang@rock-chips.com>
Diffstat (limited to 'drivers/ram')
-rw-r--r-- | drivers/ram/rockchip/sdram_rk3399.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ram/rockchip/sdram_rk3399.c b/drivers/ram/rockchip/sdram_rk3399.c index d47e2907c7..5568ad9846 100644 --- a/drivers/ram/rockchip/sdram_rk3399.c +++ b/drivers/ram/rockchip/sdram_rk3399.c @@ -1114,7 +1114,7 @@ static void dram_all_config(struct dram_info *dram, &ddr_msch_regs->ddrtimingc0); writel(noc_timing->devtodev0, &ddr_msch_regs->devtodev0); - writel(noc_timing->ddrmode, + writel(noc_timing->ddrmode.d32, &ddr_msch_regs->ddrmode); /* rank 1 memory clock disable (dfi_dram_clk_disable = 1) */ |