Commit dc62a1ff authored by Michael Schanz's avatar Michael Schanz

imx: fix misplaced hook to function ldo_bypass_set

Calling the function ldo_bypass_set before kernel startup switches the i.MX6 onchip LDOs
to bypass mode. This is essential for board stability. Wrapping the function call inside
CONFIG_CMD_SATA clause is wrong because the function won't be called anymore if
the switch CONFIG_CMD_SATA is disabled.
Signed-off-by: Michael Schanz's avatarMichael Schanz <michael.schanz@congatec.com>
parent 2c042dfd
......@@ -279,10 +279,8 @@ void arch_preboot_os(void)
#if defined(CONFIG_MX6)
disable_sata_clock();
#endif
ldo_bypass_set();
#endif
ldo_bypass_set();
#if defined(CONFIG_VIDEO_IPUV3)
/* disable video before launching O/S */
ipuv3_fb_shutdown();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment