]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: mx6ul: disable VIDEO for SPL
authorPeng Fan <van.freenix@gmail.com>
Mon, 4 Jan 2016 04:19:14 +0000 (12:19 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 7 Jan 2016 16:51:47 +0000 (17:51 +0100)
With DEBUG macro enabled, SPL build failure:
"
arch/arm/cpu/armv7/built-in.o: In function `reset_misc':
~/uboot/arch/arm/cpu/armv7/mx6/soc.c:406: undefined reference to `lcdif_power_down'
scripts/Makefile.spl:244: recipe for target 'spl/u-boot-spl' failed
"
Wrap VIDEO settings with ifndef CONFIG_SPL_BUILD

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Stefano Babic <sbabic@denx.de>
include/configs/mx6ul_14x14_evk.h

index 2712b27fd16a04484f3927c7da23de371b5dd198..c9461764165d1c31554fe47dabd98a0f690d035d 100644 (file)
 
 #define CONFIG_IMX_THERMAL
 
+#ifndef CONFIG_SPL_BUILD
 #define CONFIG_VIDEO
 #ifdef CONFIG_VIDEO
 #define CONFIG_CFB_CONSOLE
 #define CONFIG_VIDEO_BMP_LOGO
 #define MXS_LCDIF_BASE MX6UL_LCDIF1_BASE_ADDR
 #endif
+#endif
 
 #endif