arm: cardhu: change parameters for emc 266.5mhz
Wen Yi [Mon, 27 Aug 2012 09:14:13 +0000 (14:14 +0530)]
The EmcTclkStable is set to 0x00000004 and McEmemArbOutStandingReq
is set to 0xc0000030

Bug 1030392
Bug 1039060

Reviewed-on: http://git-master/r/122302
(cherry picked from commit a3a1d1797e310d61204256af8be995f9396c22e7)

Change-Id: Ic65334a6573582ae99d05a8f6f8290096755827e
Signed-off-by: Wen Yi <wyi@nvidia.com>
Reviewed-on: http://git-master/r/127458
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

arch/arm/mach-tegra/board-cardhu-memory.c

index 305899f..4ec8839 100644 (file)
@@ -4619,7 +4619,7 @@ static const struct tegra_emc_table cardhu_emc_tables_k4p8g304eb[] = {
                        0x00000004, /* EMC_TCKE */
                        0x0000000e, /* EMC_TFAW */
                        0x00000006, /* EMC_TRPAB */
-                       0x00000001, /* EMC_TCLKSTABLE */
+                       0x00000004, /* EMC_TCLKSTABLE */
                        0x00000002, /* EMC_TCLKSTOP */
                        0x00000455, /* EMC_TREFBW */
                        0x00000000, /* EMC_QUSE_EXTRA */
@@ -4674,8 +4674,8 @@ static const struct tegra_emc_table cardhu_emc_tables_k4p8g304eb[] = {
                        0x00000000, /* EMC_CTT */
                        0x00000000, /* EMC_CTT_DURATION */
                        0x800008ee, /* EMC_DYN_SELF_REF_CONTROL */
-                       0x00000004, /* MC_EMEM_ARB_CFG */
-                       0x80000030, /* MC_EMEM_ARB_OUTSTANDING_REQ */
+                       0x00000008, /* MC_EMEM_ARB_CFG */
+                       0xc0000030, /* MC_EMEM_ARB_OUTSTANDING_REQ */
                        0x00000001, /* MC_EMEM_ARB_TIMING_RCD */
                        0x00000002, /* MC_EMEM_ARB_TIMING_RP */
                        0x00000008, /* MC_EMEM_ARB_TIMING_RC */