]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: socfpga: de0-nano-soc: Adding handoff for SDRAM ctrlcfg.extratime1
authorChin Liang See <clsee@altera.com>
Wed, 21 Sep 2016 02:26:03 +0000 (10:26 +0800)
committerMarek Vasut <marex@denx.de>
Thu, 27 Oct 2016 06:03:11 +0000 (08:03 +0200)
Adding new handoff for SDRAM ctrcfg.extratime1 which is
required for stable LPDDR2 operation. Since the board is
using DDR3, the handoff is set to default value 0.

Signed-off-by: Chin Liang See <clsee@altera.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
board/terasic/de0-nano-soc/qts/sdram_config.h

index 708479775008a13e7c7793d4751d01bd865c91bd..d96b28af82f31235290f1f12745dfb896b0df1c8 100644 (file)
@@ -42,6 +42,9 @@
 #define CONFIG_HPS_SDR_CTRLCFG_DRAMIFWIDTH_IFWIDTH             32
 #define CONFIG_HPS_SDR_CTRLCFG_DRAMDEVWIDTH_DEVWIDTH           8
 #define CONFIG_HPS_SDR_CTRLCFG_DRAMINTR_INTREN                 0
+#define CONFIG_HPS_SDR_CTRLCFG_EXTRATIME1_CFG_EXTRA_CTL_CLK_RD_TO_WR 0
+#define CONFIG_HPS_SDR_CTRLCFG_EXTRATIME1_CFG_EXTRA_CTL_CLK_RD_TO_WR_BC 0
+#define CONFIG_HPS_SDR_CTRLCFG_EXTRATIME1_CFG_EXTRA_CTL_CLK_RD_TO_WR_DIFF_CHIP 0
 #define CONFIG_HPS_SDR_CTRLCFG_LOWPWREQ_SELFRFSHMASK           3
 #define CONFIG_HPS_SDR_CTRLCFG_STATICCFG_MEMBL                 2
 #define CONFIG_HPS_SDR_CTRLCFG_STATICCFG_USEECCASDATA          0