[U-Boot] imx: add i.MX8MQ EVK support

Peng Fan peng.fan at nxp.com
Mon Aug 19 06:25:20 UTC 2019


Loop Jacky who has more knowledge in the ddr stuff.

> Subject: re: imx: add i.MX8MQ EVK support
> 
> Hi Peng
> 
> In spl.c you have
> 
> _________
> static void spl_dram_init(void)
> {
> 	/* ddr init */
> 	if ((get_cpu_rev() & 0xfff) == CHIP_REV_2_1)
> 		ddr_init(&dram_timing);
> 	else
> 		ddr_init(&dram_timing_b0);
> }
> 
> _________
> 
> Could you explain why this is dependent on chip rev ?
> 
> It it just the extra frequency in lpddr4_timing.c ?
> 
> __________
> 	{
> 		/* P1 100mts 1D */
> 		.drate = 100,
> 		.fw_type = FW_1D_IMAGE,
> 		.fsp_cfg = lpddr4_fsp2_cfg,
> 		.fsp_cfg_num = ARRAY_SIZE(lpddr4_fsp2_cfg),
> 	},
> _________
> 
> 
> Will other i.MX8MQ boards also need this check ?
> 
> 
> Thanks
> Troy


More information about the U-Boot mailing list