projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10867a0
)
imx8mq_evk: Applying default LPDDR4 script for B2
author
Ye Li
<ye.li@nxp.com>
Fri, 19 Mar 2021 07:57:18 +0000
(15:57 +0800)
committer
Stefano Babic
<sbabic@denx.de>
Thu, 8 Apr 2021 07:18:29 +0000
(09:18 +0200)
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>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
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
8275358
..
e8e0efe
100644
(file)
--- a/
board/freescale/imx8mq_evk/spl.c
+++ b/
board/freescale/imx8mq_evk/spl.c
@@
-36,7
+36,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);