Skip to contentSkip to conversation

arm: socfpga: socrates: Adding handoff for SDRAM ctrlcfg.extratime1

PATCH Superseded Chin Liang See 2 participants 3 messages Sep 15, 2016 – Sep 19, 2016

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 4/9 arm: socfpga: socrates: Adding handoff for SDRAM ctrlcfg.extratime1

Adding new handoff for SDRAM ctrcfg.extratime1 which is required for stabil LPDDR2 operation

---
 board/ebv/socrates/qts/sdram_config.h | 3 +++
 1 file changed, 3 insertions(+)
board/ebv/socrates/qts/sdram_config.h +3 -0
index cf9d1d3..a0cad51 100644
@@ -49,6 +49,9 @@
 #define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING3_TRTP			4
 #define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING4_PWRDOWNEXIT		3
 #define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING4_SELFRFSHEXIT		512
+#define CONFIG_HPS_SDR_CTRLCFG_EXTRATIME1_CFG_EXTRA_CTL_CLK_RD_TO_WR 2
+#define CONFIG_HPS_SDR_CTRLCFG_EXTRATIME1_CFG_EXTRA_CTL_CLK_RD_TO_WR_BC 2
+#define CONFIG_HPS_SDR_CTRLCFG_EXTRATIME1_CFG_EXTRA_CTL_CLK_RD_TO_WR_DIFF_CHIP 2
 #define CONFIG_HPS_SDR_CTRLCFG_FIFOCFG_INCSYNC			0
 #define CONFIG_HPS_SDR_CTRLCFG_FIFOCFG_SYNCMODE			0
 #define CONFIG_HPS_SDR_CTRLCFG_FPGAPORTRST			0x0
Signature · 1 line
2.2.2
#1 lore raw

PATCH 4/9 arm: socfpga: socrates: Adding handoff for SDRAM ctrlcfg.extratime1

Quoted 2 lines · Chin Liang See

Adding new handoff for SDRAM ctrcfg.extratime1 which is required for stabil LPDDR2 operation

Same comment as 2/9 applies to the rest

Quoted 20 lines
---
 board/ebv/socrates/qts/sdram_config.h | 3 +++
 1 file changed, 3 insertions(+)
board/ebv/socrates/qts/sdram_config.h +3 -0
index cf9d1d3..a0cad51 100644
@@ -49,6 +49,9 @@
 #define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING3_TRTP			4
 #define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING4_PWRDOWNEXIT		3
 #define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING4_SELFRFSHEXIT		512
+#define CONFIG_HPS_SDR_CTRLCFG_EXTRATIME1_CFG_EXTRA_CTL_CLK_RD_TO_WR 2
+#define CONFIG_HPS_SDR_CTRLCFG_EXTRATIME1_CFG_EXTRA_CTL_CLK_RD_TO_WR_BC 2
+#define CONFIG_HPS_SDR_CTRLCFG_EXTRATIME1_CFG_EXTRA_CTL_CLK_RD_TO_WR_DIFF_CHIP 2
 #define CONFIG_HPS_SDR_CTRLCFG_FIFOCFG_INCSYNC			0
 #define CONFIG_HPS_SDR_CTRLCFG_FIFOCFG_SYNCMODE			0
 #define CONFIG_HPS_SDR_CTRLCFG_FPGAPORTRST			0x0
Signature · 2 lines
Best regards,
Marek Vasut
#2 lore raw

PATCH 4/9 arm: socfpga: socrates: Adding handoff for SDRAM ctrlcfg.extratime1

Quoted 5 lines · Marek Vasut
Quoted 2 lines · Chin Liang See

Adding new handoff for SDRAM ctrcfg.extratime1 which is required for stabil LPDDR2 operation

Same comment as 2/9 applies to the rest

Yup, we just need 1/9.

Thanks
Chin Liang

Quoted 34 lines
Quoted 32 lines
---
 board/ebv/socrates/qts/sdram_config.h | 3 +++
 1 file changed, 3 insertions(+)
board/ebv/socrates/qts/sdram_config.h +0 -0
index cf9d1d3..a0cad51 100644
@@ -49,6 +49,9 @@
 #define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING3_TRTP			

4
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING4_PWRDOWNEXIT
3
#define CONFIG_HPS_SDR_CTRLCFG_DRAMTIMING4_SELFRFSHEXIT
512
+#define CONFIG_HPS_SDR_CTRLCFG_EXTRATIME1_CFG_EXTRA_CTL_CLK_RD_TO_WR 2 +#define CONFIG_HPS_SDR_CTRLCFG_EXTRATIME1_CFG_EXTRA_CTL_CLK_RD_TO_WR_BC 2 +#define CONFIG_HPS_SDR_CTRLCFG_EXTRATIME1_CFG_EXTRA_CTL_CLK_RD_TO_WR_DIFF_C HIP 2
#define CONFIG_HPS_SDR_CTRLCFG_FIFOCFG_INCSYNC
0
#define CONFIG_HPS_SDR_CTRLCFG_FIFOCFG_SYNCMODE
0
#define CONFIG_HPS_SDR_CTRLCFG_FPGAPORTRST
0x0