arm: socfpga: Remove unused passing parameter of socfpga_bridges_reset
[oweals/u-boot.git] / arch / arm / mach-socfpga / wrap_sdram_config.c
index 72ce565751d67567ff006f1bdeb62dc3a8775b96..8fb808a3340e6d0a3ffe3f58ac6b6c45fd9a6069 100644 (file)
@@ -7,13 +7,9 @@
 #include <common.h>
 #include <errno.h>
 #include <asm/arch/sdram.h>
-/* QTS output file. */
-#include <qts/sdram_config.h>
 
-#include <qts/sequencer_auto_ac_init.h>
-#include <qts/sequencer_auto_inst_init.h>
-#include <qts/sequencer_auto.h>
-#include <qts/sequencer_defines.h>
+/* Board-specific header. */
+#include <qts/sdram_config.h>
 
 static const struct socfpga_sdram_config sdram_config = {
        .ctrl_cfg =
@@ -85,6 +81,13 @@ static const struct socfpga_sdram_config sdram_config = {
                        SDR_CTRLGRP_DRAMODT_READ_LSB)                   |
                (CONFIG_HPS_SDR_CTRLCFG_DRAMODT_WRITE <<
                        SDR_CTRLGRP_DRAMODT_WRITE_LSB),
+       .extratime1 =
+       (CONFIG_HPS_SDR_CTRLCFG_EXTRATIME1_CFG_EXTRA_CTL_CLK_RD_TO_WR <<
+                       SDR_CTRLGRP_EXTRATIME1_RD_TO_WR_LSB)            |
+       (CONFIG_HPS_SDR_CTRLCFG_EXTRATIME1_CFG_EXTRA_CTL_CLK_RD_TO_WR_BC <<
+                       SDR_CTRLGRP_EXTRATIME1_RD_TO_WR_BC_LSB)         |
+(CONFIG_HPS_SDR_CTRLCFG_EXTRATIME1_CFG_EXTRA_CTL_CLK_RD_TO_WR_DIFF_CHIP <<
+                       SDR_CTRLGRP_EXTRATIME1_RD_TO_WR_DIFF_LSB),
        .dram_addrw =
                (CONFIG_HPS_SDR_CTRLCFG_DRAMADDRW_COLBITS <<
                        SDR_CTRLGRP_DRAMADDRW_COLBITS_LSB)              |