imx: mx6: Fix implementantion reset_misc

lcdif_power_down should not be included in spl build to avoid build
failure introduced by commit eb111bb31d

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
Michael Trimarchi 2018-06-20 23:27:54 +02:00 committed by Stefano Babic
parent efd0b79106
commit 9236269de5

View 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)