]> git.baikalelectronics.ru Git - uboot.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)
commitd6470dd19109d579d5e6b13ae02afa6c4e57ac6e
treee82894af454b948581d088ffa068be66b6d64ceb
parentb658653c94a79a3cb1aeb9c64ccce13650fff3ca
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