summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorChin Liang See <clsee@altera.com>2016-09-21 10:26:03 +0800
committerMarek Vasut <marex@denx.de>2016-10-27 08:03:11 +0200
commit13022d852d5c233894fabb62279a2ae9e0355638 (patch)
tree2e9264cd77305cda12f2eb69f5b5ab16ab1b091a /board
parent202936395e7e3b0d5c2351fd273701b3e047a279 (diff)
downloadu-boot-imx-13022d852d5c233894fabb62279a2ae9e0355638.zip
u-boot-imx-13022d852d5c233894fabb62279a2ae9e0355638.tar.gz
u-boot-imx-13022d852d5c233894fabb62279a2ae9e0355638.tar.bz2
arm: socfpga: de0-nano-soc: Adding handoff for SDRAM ctrlcfg.extratime1
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>
Diffstat (limited to 'board')
-rw-r--r--board/terasic/de0-nano-soc/qts/sdram_config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/terasic/de0-nano-soc/qts/sdram_config.h b/board/terasic/de0-nano-soc/qts/sdram_config.h
index 7084797..d96b28a 100644
--- a/board/terasic/de0-nano-soc/qts/sdram_config.h
+++ b/board/terasic/de0-nano-soc/qts/sdram_config.h
@@ -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