]> git.baikalelectronics.ru Git - uboot.git/commit
sunxi: Fix memory 2-rank initialization for a33 cpu
authorMichael Trimarchi <michael@amarulasolutions.com>
Wed, 31 Oct 2018 19:03:16 +0000 (20:03 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 22 Nov 2018 07:54:15 +0000 (13:24 +0530)
commit6af17d4550e840168c0800aed5a81c1a6d3c91b5
tree216fd527e5cc8004e3b0c97bbcb0cad9babc2795
parentb06cf0f35dc7319df5f29b78c827afd910f78aaa
sunxi: Fix memory 2-rank initialization for a33 cpu

When we initialize the memory we need to autodetect rank and size
but this can happen only if we send the proper reset to both
memory module including cke signal.
For this reason we need initialize the physical on both channel because
we need to presume that both are connected. This way let the CLKE to be
activated at the right time with the memory reset coming from the cpu

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/mach-sunxi/dram_sun8i_a33.c