* [U-Boot] imx: add i.MX8MQ EVK support
@ 2019-08-19 2:14 Troy Kisky
2019-08-19 6:25 ` Peng Fan
0 siblings, 1 reply; 3+ messages in thread
From: Troy Kisky @ 2019-08-19 2:14 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] imx: add i.MX8MQ EVK support
2019-08-19 2:14 [U-Boot] imx: add i.MX8MQ EVK support Troy Kisky
@ 2019-08-19 6:25 ` Peng Fan
2019-08-19 7:49 ` Jacky Bai
0 siblings, 1 reply; 3+ messages in thread
From: Peng Fan @ 2019-08-19 6:25 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] imx: add i.MX8MQ EVK support
2019-08-19 6:25 ` Peng Fan
@ 2019-08-19 7:49 ` Jacky Bai
0 siblings, 0 replies; 3+ messages in thread
From: Jacky Bai @ 2019-08-19 7:49 UTC (permalink / raw)
To: u-boot
> Sent: Monday, August 19, 2019 2:25 PM
> To: Troy Kisky <troy.kisky@boundarydevices.com>; Fabio Estevam
> <fabio.estevam@nxp.com>; Stefano Babic <sbabic@denx.de>;
> u-boot at lists.denx.de; Jacky Bai <ping.bai@nxp.com>
> Subject: RE: imx: add i.MX8MQ EVK support
>
> 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 is due an errata in DDR PHY, for chip Rev lower than 2.1, set point < 667mts can NOT be supported
> >
> > 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 ?
> >
For most of the customer board, I think the chip Rev is 2.1, so no need such check.
> >
> > Thanks
> > Troy
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-08-19 7:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-19 2:14 [U-Boot] imx: add i.MX8MQ EVK support Troy Kisky
2019-08-19 6:25 ` Peng Fan
2019-08-19 7:49 ` Jacky Bai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.