]> git.baikalelectronics.ru Git - uboot.git/commitdiff
imx: mx6: Fix implementantion reset_misc
authorMichael Trimarchi <michael@amarulasolutions.com>
Wed, 20 Jun 2018 21:27:54 +0000 (23:27 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 23 Jul 2018 08:31:52 +0000 (10:31 +0200)
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>
arch/arm/mach-imx/mx6/soc.c

index e8b6f7772481926eac6f3c156afb1b9ed5f186de..ffc2951ee7db1ca309e00abbf512a7d7fbcc6fd6 100644 (file)
@@ -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)