powerpc/82xx: adapt SDRAM settings for mgcoge3ne
authorGerlando Falauto <gerlando.falauto@keymile.com>
Fri, 27 Jul 2012 05:16:40 +0000 (05:16 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 31 Jul 2012 20:36:38 +0000 (22:36 +0200)
The HW guys suggested to change these two values. And these values are
now identical to the values we use on mgcoge.

PSDMR_WRC was set to 1C as it should lead to better performance.

Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com>
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
include/configs/km82xx.h

index f046337a061b6bbdebeb7cb9697df1fdb02d0e23..3c2117fc39ec7ac91efb8794c72a776f2e563b95 100644 (file)
 #define CONFIG_SYS_OR1 ((~(CONFIG_SYS_GLOBAL_SDRAM_LIMIT-1) & \
                           ORxS_SDAM_MSK)               |\
                        ORxS_BPD_4                      |\
-                       ORxS_NUMR_13)
+                       ORxS_NUMR_13                    |\
+                       ORxS_IBID)
 
 #define CONFIG_SYS_PSDMR (                             \
                        PSDMR_PBI                       |\
+                       PSDMR_RFEN                      |\
                        PSDMR_BSMA_A13_A15              |\
                        PSDMR_RFRC_5_CLK                |\
                        PSDMR_PRETOACT_2W               |\
                        PSDMR_ACTTORW_2W                |\
                        PSDMR_LDOTOPRE_1C               |\
-                       PSDMR_WRC_2C                    |\
+                       PSDMR_WRC_1C                    |\
                        PSDMR_CL_2)
 
 #define CONFIG_SYS_SDRAM_LIST  {                                       \