Skip to content
Snippets Groups Projects
Commit 06a51b8c authored by Nikita Kiryanov's avatar Nikita Kiryanov Committed by Stefano Babic
Browse files

arm: mx6: ddr: do not write into reserved bit


Bit 16 in mapsr register is in a reserved field. Don't write to it.

Cc: Stefano Babic <sbabic@denx.de>
Cc: Tim Harvey <tharvey@gateworks.com>
Acked-by: default avatarTim Harvey <tharvey@gateworks.com>
Signed-off-by: default avatarNikita Kiryanov <nikita@compulab.co.il>
parent 3368918f
No related branches found
No related tags found
No related merge requests found
...@@ -472,7 +472,7 @@ void mx6_dram_cfg(const struct mx6_ddr_sysinfo *sysinfo, ...@@ -472,7 +472,7 @@ void mx6_dram_cfg(const struct mx6_ddr_sysinfo *sysinfo,
1 << 6 | /* BOTH_CS_PD */ 1 << 6 | /* BOTH_CS_PD */
(tcksrx & 0x7) << 3 | (tcksrx & 0x7) << 3 |
(tcksre & 0x7); (tcksre & 0x7);
mmdc0->mapsr = 0x00011006; /* ADOPT power down enabled */ mmdc0->mapsr = 0x00001006; /* ADOPT power down enabled */
/* Step 11: Configure ZQ calibration: one-time and periodic 1ms */ /* Step 11: Configure ZQ calibration: one-time and periodic 1ms */
val = 0xa1390003; val = 0xa1390003;
......
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