]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: H616: DRAM: Adjust size scan procedure
authorJernej Skrabec <jernej.skrabec@gmail.com>
Fri, 30 Aug 2024 15:55:09 +0000 (10:55 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Wed, 9 Oct 2024 23:23:42 +0000 (00:23 +0100)
commitb37edefc20aa95dd8728518ff87d93321281b1f2
tree7f21c6fcf9a8a60badbfd4ed579a66bfa2ade153
parentd88668f9138ef35c52b267de05324b17274d4779
sunxi: H616: DRAM: Adjust size scan procedure

It's safer to start scanning for columns first and then rows. Columns
reside on LSB address pins, which means that second configuration will
already have all needed row pins active.

This is also preparation for introducing DDR4 support, which need scan
for banks and bank groups too.

Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Tested-by: Chris Morgan <macromorgan@hotmail.com>
arch/arm/mach-sunxi/dram_sun50i_h616.c