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:
497c759
)
driver: ddr: imx: skip ddr_ss_gpr config on imx8mn
author
Jacky Bai
<ping.bai@nxp.com>
Wed, 5 Jun 2019 03:26:12 +0000
(11:26 +0800)
committer
Peng Fan
<peng.fan@nxp.com>
Tue, 14 Jul 2020 07:23:46 +0000
(15:23 +0800)
There is no DDR_SS_GPR0 exits on i.MX8MN, so skip setting
this register on i.MX8MN.
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/ddr/imx/imx8m/ddr_init.c
patch
|
blob
|
history
diff --git
a/drivers/ddr/imx/imx8m/ddr_init.c
b/drivers/ddr/imx/imx8m/ddr_init.c
index
bbddee6
..
1c5c7f9
100644
(file)
--- a/
drivers/ddr/imx/imx8m/ddr_init.c
+++ b/
drivers/ddr/imx/imx8m/ddr_init.c
@@
-74,7
+74,7
@@
int ddr_init(struct dram_timing_info *dram_timing)
/* if ddr type is LPDDR4, do it */
tmp = reg32_read(DDRC_MSTR(0));
- if (tmp & (0x1 << 5))
+ if (tmp & (0x1 << 5)
&& !is_imx8mn()
)
reg32_write(DDRC_DDR_SS_GPR0, 0x01); /* LPDDR4 mode */
/* determine the initial boot frequency */