ram: rk3399: update calculate_stride
authorKever Yang <kever.yang@rock-chips.com>
Fri, 15 Nov 2019 03:04:52 +0000 (11:04 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Sun, 17 Nov 2019 08:23:56 +0000 (16:23 +0800)
commitc8863b85083a8f5864f800dee4f22a7dc9f41c9f
tree4946210786ec76be614e635896cccf05de54e2a0
parentda53f0641b091ba4d45d9068853af81d92fc48b3
ram: rk3399: update calculate_stride

Update the calculation of the stride to support all the DRAM case.

Signed-off-by: YouMin Chen <cym@rock-chips.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/include/asm/arch-rockchip/sdram_rk3399.h
drivers/ram/rockchip/sdram_rk3399.c