diff options
author | Michael Trimarchi <michael@amarulasolutions.com> | 2018-06-21 00:27:54 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-07-23 11:31:52 +0300 |
commit | 9236269de57dc1bd6574855a2d07721f49e80be8 (patch) | |
tree | 2bf1b76992757bddab9378229397e328255e3188 /arch | |
parent | efd0b791069af93e9d439a70d1fe2ae8994dbbfa (diff) | |
download | u-boot-9236269de57dc1bd6574855a2d07721f49e80be8.tar.xz |
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.c | 2 |
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) |