]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mx6: ddr: configure MMDC for slow_pd
authorNikita Kiryanov <nikita@compulab.co.il>
Wed, 20 Aug 2014 12:08:57 +0000 (15:08 +0300)
committerStefano Babic <sbabic@denx.de>
Tue, 9 Sep 2014 13:35:00 +0000 (15:35 +0200)
commit08155289a453acee836179553131e9d51ab02a52
tree463ef053b1b9746aead962dc54ec167093dfef58
parent06a51b8cc85ac2cfa501b9f537f5aa1514b7c508
arm: mx6: ddr: configure MMDC for slow_pd

According to MX6 TRM, both MMDC and DRAM should be configured to
the same powerdown precharge. Currently, mx6_dram_cfg()
configures MMDC for fast pd (MDPDC[7] = 0), and the DRAM for
'slow exit (DLL off)' (MR0[12] = 0).

Configure MMDC for slow pd.

Cc: Stefano Babic <sbabic@denx.de>
Cc: Tim Harvey <tharvey@gateworks.com>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Acked-by: Tim Harvey <tharvey@gateworks.com>
arch/arm/cpu/armv7/mx6/ddr.c