]> git.dujemihanovic.xyz Git - u-boot.git/commit
ram: rockchip: debug: Get the cs capacity
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 15 Jul 2019 18:28:50 +0000 (23:58 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 19 Jul 2019 03:11:10 +0000 (11:11 +0800)
commit79674a62789c7fcda3dd285c618080bc0bf85189
treee82894af454b948581d088ffa068be66b6d64ceb
parent07894f5aacb5a4b04a762251c83e5745173849e3
ram: rockchip: debug: Get the cs capacity

Add code to get the channel capacity, this would help to
print the capacity of specific channel.

Here is sample print on LPDDR4, 50MHz channel 0
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB

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_debug.c