[U-Boot] [PATCH 1/2] ARM: exynos: Fix build error if SERIAL is disabled in SPL
Minkyu Kang
mk7.kang at samsung.com
Thu May 26 07:01:24 CEST 2016
On 02/05/16 03:55, Simon Glass wrote:
> +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>
>
>
applied to u-boot-samsung.
Thanks,
Minkyu Kang.
More information about the U-Boot
mailing list