]> code.ossystems Code Review - bsp/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)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 9 Sep 2014 15:30:36 +0000 (12:30 -0300)
commit07917e7a25e2cf9c27173974d7e9379fd1e7ef0a
treefb9519dcb84cb270588636bf593971f25cca2861
parent66b2f148991950eb913786e40fb8e81c9cb850ce
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