aboutsummaryrefslogtreecommitdiff
path: root/drivers/ddr/imx
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ddr/imx')
-rw-r--r--drivers/ddr/imx/imx8m/ddr_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ddr/imx/imx8m/ddr_init.c b/drivers/ddr/imx/imx8m/ddr_init.c
index 1c5c7f99cff..de302937d08 100644
--- a/drivers/ddr/imx/imx8m/ddr_init.c
+++ b/drivers/ddr/imx/imx8m/ddr_init.c
@@ -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);