]> git.sur5r.net Git - u-boot/commitdiff
arm: mx6: ddr: do not write into reserved bit
authorNikita Kiryanov <nikita@compulab.co.il>
Wed, 20 Aug 2014 12:08:56 +0000 (15:08 +0300)
committerStefano Babic <sbabic@denx.de>
Tue, 9 Sep 2014 13:35:00 +0000 (15:35 +0200)
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: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
arch/arm/cpu/armv7/mx6/ddr.c

index 5fc4d95746860cfd8c89d37074761145180f62bc..6e6f3373acebc574d0e43cd357dca95bfd749fe7 100644 (file)
@@ -472,7 +472,7 @@ void mx6_dram_cfg(const struct mx6_ddr_sysinfo *sysinfo,
                        1            <<  6 |  /* BOTH_CS_PD */
                        (tcksrx & 0x7) << 3 |
                        (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 */
        val = 0xa1390003;