From: Bin Meng Date: Wed, 18 Jan 2017 11:32:52 +0000 (-0800) Subject: x86: Wrap print_ch() with config option X-Git-Tag: v2017.03-rc2~51 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=020a5d4f633e760995b6104cac1f68132469e4b0;p=oweals%2Fu-boot.git x86: Wrap print_ch() with config option print_ch() should not be used if DEBUG_UART is off. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- diff --git a/arch/x86/cpu/x86_64/cpu.c b/arch/x86/cpu/x86_64/cpu.c index 77cbb567c4..db171f750d 100644 --- a/arch/x86/cpu/x86_64/cpu.c +++ b/arch/x86/cpu/x86_64/cpu.c @@ -31,7 +31,9 @@ void arch_setup_gd(gd_t *new_gd) * * U-Boot SPL 2017.01 */ +#ifdef CONFIG_DEBUG_UART printch(' '); +#endif } int cpu_has_64bit(void)