Commit 4d0da8e30cf0b3b86ef1b48315e2cd8d14e5ea10

Authored by Ye Li
1 parent 6ec7af8eed

MLK-25291-3 imx8mq_evk: Applying default LPDDR4 script for B2

Both i.MX8MQ B1 and B2 should use default LPDDR4 script, while B0
has another dedicated script.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 2beb72ddfd5416be7d8fa6e9fb36b1e29a0f0cb7)

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

board/freescale/imx8mq_evk/spl.c
... ... @@ -32,7 +32,7 @@
32 32 static void spl_dram_init(void)
33 33 {
34 34 /* ddr init */
35   - if ((get_cpu_rev() & 0xfff) == CHIP_REV_2_1)
  35 + if (soc_rev() >= CHIP_REV_2_1)
36 36 ddr_init(&dram_timing);
37 37 else
38 38 ddr_init(&dram_timing_b0);