Revert "mx6: ddr: Allow changing REFSEL and REFR fields"
authorMaxim Yu. Osipov <mosipov@ilbers.de>
Tue, 20 Feb 2018 10:08:09 +0000 (11:08 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 22 Feb 2018 13:30:53 +0000 (14:30 +0100)
commitd247cf50698a590571cf9a6fd4608e702580e40e
treea31691ef9d5c1f13a164f0edb8c016be8bcf2703
parent04a03b240f09466683b810c0f09c04b1649350f3
Revert "mx6: ddr: Allow changing REFSEL and REFR fields"

This reverts commit edf0093732225c2fd0791c3864e9a3eef1f92f19 for
cm_fx6 iMX.6 Solo module as it causes frequent (around 10 percent of
power cycles) board's hangs.

These hangs happen in SPL when BSS is being initialized in SDRAM -
it appear that variables from BSS contain trash values which lead to board
hangs. Looks like that SDRAM doesn't yet finish initialization in these
cases.

Signed-off-by: Maxim Yu. Osipov <mosipov@ilbers.de>
Reviewed-by: Stefano Babic <sbabic@denx.de>
board/compulab/cm_fx6/spl.c