ram: rk3399: Compute stride for 1 channel a
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 15 Jul 2019 18:28:53 +0000 (23:58 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 19 Jul 2019 03:11:10 +0000 (11:11 +0800)
commit1ff5283d92b25e449358bd88bc0b18db4be61d4f
tree6639c798f66dcd39e4b08f49a1cd94bfd56db60e
parent4b09719c38cea3d10095675046eb6e8e84955e85
ram: rk3399: Compute stride for 1 channel a

Add stride computation for the sdram which support
single channel a

This configuration available in NanoPi NEO4 and the
same can work with existing rk3399-sdram-ddr3-1866.dtsi

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