u-boot-brain/arch
Marek Vasut c06bbab65b ARM: exynos: Fix build error if SERIAL is disabled in SPL
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@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
2016-05-26 12:55:49 +09:00
..
arc arc/cache: really do flush_dcache_all() even if IOC exists 2016-04-21 20:09:59 +03:00
arm ARM: exynos: Fix build error if SERIAL is disabled in SPL 2016-05-26 12:55:49 +09:00
avr32 Change my mailaddress 2016-05-02 18:37:09 -04:00
blackfin configs: Re-sync almost all of cmd/Kconfig 2016-04-25 15:09:40 -04:00
m68k Merge git://git.denx.de/u-boot-dm 2016-05-17 13:58:27 -04:00
microblaze microblaze: Remove !OF_CONTROL code for timer and interrupt 2016-04-04 20:28:38 +02:00
mips malta: Support MIPS32r6 configurations 2016-05-21 01:36:39 +02:00
nds32 Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
nios2 dm: Use uclass_first_device_err() where it is useful 2016-03-14 15:34:50 -06:00
openrisc openrisc: Fix build errors 2016-01-25 10:40:01 -05:00
powerpc Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq 2016-05-24 13:42:03 -04:00
sandbox sandbox: Add string and 16-bit I/O functions 2016-05-17 09:54:43 -06:00
sh Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
sparc Fix spelling of "transferred". 2016-03-22 12:16:16 -04:00
x86 x86: Switch to use SMBIOS Kconfig options when writing SMBIOS tables 2016-05-23 15:27:42 +08:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig MIPS: add initial infrastructure for device-tree files 2016-01-16 21:06:45 +01:00