]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/ddr/altera/sequencer.c
ddr: altera: sequencer: Wrap RW_MGR_* macros
[karo-tx-uboot.git] / drivers / ddr / altera / sequencer.c
index 31e339bdd1aecd67c6b8a54fa48557e8aceefc1b..11f96a5790879f235b5d88e75ff8ba7de200f011 100644 (file)
@@ -41,6 +41,8 @@ static struct socfpga_data_mgr *data_mgr =
 static struct socfpga_sdr_ctrl *sdr_ctrl =
        (struct socfpga_sdr_ctrl *)SDR_CTRLGRP_ADDRESS;
 
+const struct socfpga_sdram_rw_mgr_config *rwcfg;
+
 #define DELTA_D                1
 
 /*
@@ -3696,6 +3698,8 @@ int sdram_calibration_full(void)
        param = &my_param;
        gbl = &my_gbl;
 
+       rwcfg = socfpga_get_sdram_rwmgr_config();
+
        /* Set the calibration enabled by default */
        gbl->phy_debug_mode_flags |= PHY_DEBUG_ENABLE_CAL_RPT;
        /*