From mboxrd@z Thu Jan 1 00:00:00 1970 From: Minkyu Kang Date: Thu, 26 May 2016 14:01:24 +0900 Subject: [U-Boot] [PATCH 1/2] ARM: exynos: Fix build error if SERIAL is disabled in SPL In-Reply-To: References: <1462055772-6419-1-git-send-email-marex@denx.de> Message-ID: <57468324.9010803@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 02/05/16 03:55, Simon Glass wrote: > +Minkyu > > On 30 April 2016 at 16:36, Marek Vasut 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 >> Cc: Simon Glass >> Cc: Tom Rini >> --- >> arch/arm/mach-exynos/lowlevel_init.c | 3 +++ >> 1 file changed, 3 insertions(+) > > Reviewed-by: Simon Glass > > applied to u-boot-samsung. Thanks, Minkyu Kang.