mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
driver: ddr: imx: correct the pwrctl setting of selfref_en on imx8m
The 'selfref_en' should be bit'0', so correct the setting to enable the auto self-refresh. Reviewed-by: Jian Li <jian.li@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> Signed-off-by: Jacky Bai <ping.bai@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
355c620666
commit
1eb325af16
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ int ddr_init(struct dram_timing_info *dram_timing)
|
|||
/* Step26: Set back register in Step4 to the original values if desired */
|
||||
reg32_write(DDRC_RFSHCTL3(0), 0x0000000);
|
||||
/* enable selfref_en by default */
|
||||
setbits_le32(DDRC_PWRCTL(0), 0x1 << 3);
|
||||
setbits_le32(DDRC_PWRCTL(0), 0x1);
|
||||
|
||||
/* enable port 0 */
|
||||
reg32_write(DDRC_PCTRL_0(0), 0x00000001);
|
||||
|
|
Loading…
Reference in a new issue