]> git.dujemihanovic.xyz Git - u-boot.git/commit
ram: rk3399: Don't disable dfi dram clk for lpddr4, rank 1
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 16 Jul 2019 11:57:20 +0000 (17:27 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 20 Jul 2019 15:59:44 +0000 (23:59 +0800)
commit740409804e96bcc3411af66f5daa5914ff888638
treea41936e227476bd61b3ef1e681917fc3612d1954
parent66912baa0f00b915df5d2135c40e62b58c965669
ram: rk3399: Don't disable dfi dram clk for lpddr4, rank 1

The hardware for LPDDR4 with
- CLK0P/N connect to lower 16-bits
- CLK1P/N connect to higher 16-bits

and usually dfi dram clk is configured via CLK1P/N, so
disabling dfi dram clk will disable the CLK1P/N as well.

So, add patch to not to disable dfi dram clk for lpddr4,
with rank 1.

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>
drivers/ram/rockchip/sdram_rk3399.c