Skip to content
Snippets Groups Projects
Commit d247cf50 authored by Maxim Yu. Osipov's avatar Maxim Yu. Osipov Committed by Stefano Babic
Browse files

Revert "mx6: ddr: Allow changing REFSEL and REFR fields"


This reverts commit edf00937 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: default avatarMaxim Yu. Osipov <mosipov@ilbers.de>
Reviewed-by: default avatarStefano Babic <sbabic@denx.de>
parent 04a03b24
No related branches found
No related tags found
No related merge requests found
...@@ -107,8 +107,6 @@ static struct mx6_ddr_sysinfo cm_fx6_sysinfo_s = { ...@@ -107,8 +107,6 @@ static struct mx6_ddr_sysinfo cm_fx6_sysinfo_s = {
.mif3_mode = 3, .mif3_mode = 3,
.rst_to_cke = 0x23, .rst_to_cke = 0x23,
.sde_to_rst = 0x10, .sde_to_rst = 0x10,
.refsel = 1, /* Refresh cycles at 32KHz */
.refr = 7, /* 8 refresh commands per refresh cycle */
}; };
static struct mx6_ddr3_cfg cm_fx6_ddr3_cfg_s = { static struct mx6_ddr3_cfg cm_fx6_ddr3_cfg_s = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment