[U-Boot] [PATCH 1/2] ARM: exynos: Fix build error if SERIAL is disabled in SPL
Simon Glass
sjg at chromium.org
Sun May 1 20:55:25 CEST 2016
+Minkyu
On 30 April 2016 at 16:36, Marek Vasut <marex at denx.de> wrote:
> If CONFIG_SPL_SERIAL_SUPPORT is not defined in include/configs/exynos5-common.h
> the following error is produced during the build of the SPL:
>
> arch/arm/mach-exynos/built-in.o: In function `do_lowlevel_init':
> ...u-boot/arch/arm/mach-exynos/lowlevel_init.c:221: undefined reference to `debug_uart_init'
>
> Add additional condition to check if SPL build is in progress and
> in that case check if CONFIG_SPL_SERIAL_SUPPORT is also set before
> enabling the debug UART.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at konsulko.com>
> ---
> arch/arm/mach-exynos/lowlevel_init.c | 3 +++
> 1 file changed, 3 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list