projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5e9dc2
)
MLK-25291-3 imx8mq_evk: Applying default LPDDR4 script for B2
author
Ye Li
<ye.li@nxp.com>
Wed, 3 Feb 2021 18:25:44 +0000
(10:25 -0800)
committer
Ye Li
<ye.li@nxp.com>
Thu, 29 Apr 2021 10:26:24 +0000
(
03:26
-0700)
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
)
(cherry picked from commit
4d0da8e30cf0b3b86ef1b48315e2cd8d14e5ea10
)
board/freescale/imx8mq_evk/spl.c
patch
|
blob
|
history
diff --git
a/board/freescale/imx8mq_evk/spl.c
b/board/freescale/imx8mq_evk/spl.c
index
e81b207
..
dd9e607
100644
(file)
--- a/
board/freescale/imx8mq_evk/spl.c
+++ b/
board/freescale/imx8mq_evk/spl.c
@@
-37,7
+37,7
@@
extern struct dram_timing_info dram_timing_b0;
static void spl_dram_init(void)
{
/* ddr init */
- if (
(get_cpu_rev() & 0xfff) =
= CHIP_REV_2_1)
+ if (
soc_rev() >
= CHIP_REV_2_1)
ddr_init(&dram_timing);
else
ddr_init(&dram_timing_b0);