mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
driver: ddr: imx: skip ddr_ss_gpr config on imx8mn
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>
This commit is contained in:
parent
497c7598c4
commit
355c620666
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue