From 020a5d4f633e760995b6104cac1f68132469e4b0 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Wed, 18 Jan 2017 03:32:52 -0800 Subject: 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 --- arch/x86/cpu/x86_64/cpu.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/x86') diff --git a/arch/x86/cpu/x86_64/cpu.c b/arch/x86/cpu/x86_64/cpu.c index 77cbb56..db171f7 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) -- cgit v1.1