arm: cardhu: correct EMEM_ARB_CFG in emc dfs table
Wen Yi [Wed, 8 Aug 2012 18:36:04 +0000 (11:36 -0700)]
The memory frequencies 266.5mhz and 437mhz have incorrect
EMEM_ARB_CFG set in emc table of  Samsung part. That resulted
in emc scaling completely disabled and emc runs at 533mhz all
time. The settings have been corrected to 0x00000008
and 0x0000000D.

Bug 1030392
Bug 1039060

Reviewed-on: http://git-master/r/122163
(cherry picked from commit f691268c138b9ed31b3867b049e64c121ecb188e)

Change-Id: I13f89c19af5391743aeba348f4a3ca4a73307bdf
Signed-off-by: Wen Yi <wyi@nvidia.com>
Reviewed-on: http://git-master/r/127429
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Sanjay Singh Rawat <srawat@nvidia.com>

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

index 33a6605..305899f 100644 (file)
@@ -4794,7 +4794,7 @@ static const struct tegra_emc_table cardhu_emc_tables_k4p8g304eb[] = {
                        0x00000000, /* EMC_CTT */
                        0x00000000, /* EMC_CTT_DURATION */
                        0x80000dff, /* EMC_DYN_SELF_REF_CONTROL */
-                       0x00000006, /* MC_EMEM_ARB_CFG */
+                       0x0000000d, /* MC_EMEM_ARB_CFG */
                        0xc000004f, /* MC_EMEM_ARB_OUTSTANDING_REQ */
                        0x00000002, /* MC_EMEM_ARB_TIMING_RCD */
                        0x00000003, /* MC_EMEM_ARB_TIMING_RP */