ram: rk3399: debug: Add sdram_print_stride
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 15 Jul 2019 18:28:51 +0000 (23:58 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 19 Jul 2019 03:11:10 +0000 (11:11 +0800)
commitcb13534abe07afae88bdeadf24e42717a9657750
treee93ffe0749f305bbdcebd8e8b004abbb33999092
parent79674a62789c7fcda3dd285c618080bc0bf85189
ram: rk3399: debug: Add sdram_print_stride

Add code to print the channel stride, this would help to
print the stride of associated channel.

Here is sample print on LPDDR4, 50MHz.
256B stride

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_common.h
drivers/ram/rockchip/sdram_debug.c