]> git.baikalelectronics.ru Git - uboot.git/commit
mpc85xx: ddr: Always start DDR RAM in Self Refresh mode
authorJoakim Tjernlund <joakim.tjernlund@infinera.com>
Wed, 27 Nov 2019 18:35:10 +0000 (19:35 +0100)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 23 Dec 2019 08:37:55 +0000 (14:07 +0530)
commit80783647457ef7f8127b30a80e9e1b612c7d3120
tree251f9fa102648ac6c3167aa1a0694cbdd4a6b97c
parent0d48bd506eb8188c866633caf0d455fbe21d5b2f
mpc85xx: ddr: Always start DDR RAM in Self Refresh mode

Some of t1042 boards fails DDR init with an Automatic calibration error
every now and then. Investigations revealed that true Warm boots
never failed. Warm boots has some extra steps performed, one being
to start DDRC in Self Refresh and then clearing SR right after.
Applying this SR method unconditionally made all our boards
stable again, regardless of Cold/Warm boot.

Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/ddr/fsl/mpc85xx_ddr_gen3.c