mx7: Do not call lcdif_power_down() in the SPL case
authorFabio Estevam <festevam@gmail.com>
Tue, 11 Dec 2018 18:40:37 +0000 (16:40 -0200)
committerStefano Babic <sbabic@denx.de>
Mon, 28 Jan 2019 11:53:21 +0000 (12:53 +0100)
commitbab289cbe993c1ee26a6301e7019c3078b60393a
treec923e588318b88bb05a20a984be1aebdef81eaf7
parent0963060c9912c404280e5540018d02777b3400af
mx7: Do not call lcdif_power_down() in the SPL case

Like it was done on imx6 in commit 9236269de57d ("imx: mx6: Fix
implementantion reset_misc")

Do not call lcdif_power_down() in the SPL case to fix the following
build error:

  LD      spl/u-boot-spl
  MKIMAGE u-boot.img
arch/arm/mach-imx/built-in.o: In function `reset_misc':
/home/fabio/ossystems/u-boot/arch/arm/mach-imx/mx7/soc.c:372: undefined reference to `lcdif_power_down'
scripts/Makefile.spl:375: recipe for target 'spl/u-boot-spl' failed

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/mx7/soc.c