summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMichael Trimarchi <michael@amarulasolutions.com>2018-06-20 23:27:54 +0200
committerStefano Babic <sbabic@denx.de>2018-07-23 10:31:52 +0200
commit9236269de57dc1bd6574855a2d07721f49e80be8 (patch)
tree2bf1b76992757bddab9378229397e328255e3188 /arch
parentefd0b791069af93e9d439a70d1fe2ae8994dbbfa (diff)
imx: mx6: Fix implementantion reset_misc
lcdif_power_down should not be included in spl build to avoid build failure introduced by commit eb111bb31d882877e75e6b8083808dcaf6493b92 Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-imx/mx6/soc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mx6/soc.c b/arch/arm/mach-imx/mx6/soc.c
index e8b6f77724..ffc2951ee7 100644
--- a/arch/arm/mach-imx/mx6/soc.c
+++ b/arch/arm/mach-imx/mx6/soc.c
@@ -548,9 +548,11 @@ const struct boot_mode soc_boot_modes[] = {
void reset_misc(void)
{
+#ifndef CONFIG_SPL_BUILD
#ifdef CONFIG_VIDEO_MXS
lcdif_power_down();
#endif
+#endif
}
void s_init(void)