Browse Source

powerpc/82xx: adapt SDRAM settings for mgcoge3ne

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>
Gerlando Falauto 12 năm trước cách đây
mục cha
commit
56249fea3d
1 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 4 2
      include/configs/km82xx.h

+ 4 - 2
include/configs/km82xx.h

@@ -128,16 +128,18 @@
 #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	{					\