mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-10-04 04:01:54 +02:00
mx23: Put back RAM voltage level to its original value
commit 5c2f444c9 (mxs: Reset the EMI block on mx23) changed the DDR voltage level, which causes mx23evk to fail to load a kernel. Put back the original values, so that mx23evk can boot a kernel again. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Tested-by: Robert Nelson <robertcnelson@gmail.com>
This commit is contained in:
parent
547e31d2f4
commit
cdc203682f
@ -234,7 +234,7 @@ static void mx23_mem_setup_vddmem(void)
|
|||||||
struct mxs_power_regs *power_regs =
|
struct mxs_power_regs *power_regs =
|
||||||
(struct mxs_power_regs *)MXS_POWER_BASE;
|
(struct mxs_power_regs *)MXS_POWER_BASE;
|
||||||
|
|
||||||
writel((0x10 << POWER_VDDMEMCTRL_TRG_OFFSET) |
|
writel((0x12 << POWER_VDDMEMCTRL_TRG_OFFSET) |
|
||||||
POWER_VDDMEMCTRL_ENABLE_ILIMIT |
|
POWER_VDDMEMCTRL_ENABLE_ILIMIT |
|
||||||
POWER_VDDMEMCTRL_ENABLE_LINREG |
|
POWER_VDDMEMCTRL_ENABLE_LINREG |
|
||||||
POWER_VDDMEMCTRL_PULLDOWN_ACTIVE,
|
POWER_VDDMEMCTRL_PULLDOWN_ACTIVE,
|
||||||
@ -242,7 +242,7 @@ static void mx23_mem_setup_vddmem(void)
|
|||||||
|
|
||||||
early_delay(10000);
|
early_delay(10000);
|
||||||
|
|
||||||
writel((0x10 << POWER_VDDMEMCTRL_TRG_OFFSET) |
|
writel((0x12 << POWER_VDDMEMCTRL_TRG_OFFSET) |
|
||||||
POWER_VDDMEMCTRL_ENABLE_LINREG,
|
POWER_VDDMEMCTRL_ENABLE_LINREG,
|
||||||
&power_regs->hw_power_vddmemctrl);
|
&power_regs->hw_power_vddmemctrl);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user