summaryrefslogtreecommitdiff
path: root/plat/imx/imx8m/include/dram.h
diff options
context:
space:
mode:
authorJacky Bai <ping.bai@nxp.com>2020-05-08 17:37:24 +0800
committerJacky Bai <ping.bai@nxp.com>2020-05-09 16:04:39 +0800
commitfc2a8af0d9aa43097869ce62e0aa54872afa286e (patch)
tree9d8e35cd566675841a7df416f2c345376024eb26 /plat/imx/imx8m/include/dram.h
parenta9341549ea984f3b1414df15b01835bb5fa98675 (diff)
MLK-23821-04 plat: imx8m: Fix the rank to rank issue
update umctl2's setting based on phy training CDD value to workaround the rank-to-rank space issue. Signed-off-by: Jacky Bai <ping.bai@nxp.com> Reviewed-by: Anson Huang <anson.huang@nxp.com> (cherry picked from commit 8cd4fa6dfff74b190294141bdc22634a7cb40a30)
Diffstat (limited to 'plat/imx/imx8m/include/dram.h')
-rw-r--r--plat/imx/imx8m/include/dram.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plat/imx/imx8m/include/dram.h b/plat/imx/imx8m/include/dram.h
index d221d27e..d0d5bf81 100644
--- a/plat/imx/imx8m/include/dram.h
+++ b/plat/imx/imx8m/include/dram.h
@@ -58,6 +58,8 @@ struct dram_info {
struct dram_timing_info *timing_info;
/* mr, emr, emr2, emr3, mr11, mr12, mr22, mr14 */
uint32_t mr_table[3][8];
+ /* used for workaround for rank to rank issue */
+ uint32_t rank_setting[3][3];
};
extern struct dram_info dram_info;