From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] imx: mx6ul: disable VIDEO for SPL
Date: Mon, 4 Jan 2016 09:59:37 +0100 [thread overview]
Message-ID: <568A3479.2060204@denx.de> (raw)
In-Reply-To: <1451881154-5686-2-git-send-email-peng.fan@nxp.com>
On 04/01/2016 05:19, Peng Fan wrote:
> 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>
> ---
> include/configs/mx6ul_14x14_evk.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h
> index 5779632..a4f624c 100644
> --- a/include/configs/mx6ul_14x14_evk.h
> +++ b/include/configs/mx6ul_14x14_evk.h
> @@ -243,6 +243,7 @@
>
> #define CONFIG_IMX_THERMAL
>
> +#ifndef CONFIG_SPL_BUILD
> #define CONFIG_VIDEO
> #ifdef CONFIG_VIDEO
> #define CONFIG_CFB_CONSOLE
> @@ -259,5 +260,6 @@
> #define CONFIG_VIDEO_BMP_LOGO
> #define MXS_LCDIF_BASE MX6UL_LCDIF1_BASE_ADDR
> #endif
> +#endif
>
> #endif
>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
next prev parent reply other threads:[~2016-01-04 8:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-04 4:19 [U-Boot] [PATCH 1/2] arm: add a weak function reset_cpu Peng Fan
2016-01-04 4:19 ` [U-Boot] [PATCH 2/2] imx: mx6ul: disable VIDEO for SPL Peng Fan
2016-01-04 8:59 ` Stefano Babic [this message]
2016-01-07 16:52 ` Stefano Babic
2016-01-04 8:59 ` [U-Boot] [PATCH 1/2] arm: add a weak function reset_cpu Stefano Babic
2016-01-04 9:10 ` Peng Fan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=568A3479.2060204@denx.de \
--to=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.