imx: Use per board ddrphy_trained_csr
Drop global ddrphy_trained_csr which maybe different with per board ddrphy_trained_csr. DDR TOOL generates ddrphy_trained_csr for each board, using the global ddrphy_trained_csr has risk that values may be not up to date. Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
@@ -90,7 +90,8 @@ int ddr_cfg_phy(struct dram_timing_info *dram_timing)
|
||||
}
|
||||
|
||||
/* save the ddr PHY trained CSR in memory for low power use */
|
||||
ddrphy_trained_csr_save(ddrphy_trained_csr, ddrphy_trained_csr_num);
|
||||
ddrphy_trained_csr_save(dram_timing->ddrphy_trained_csr,
|
||||
dram_timing->ddrphy_trained_csr_num);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user