commit | fd0c4472fb0092633159cb2e80dbc68cf59ad231 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Wed Jan 18 03:32:52 2017 -0800 |
committer | Bin Meng <bmeng.cn@gmail.com> | Tue Feb 07 13:23:07 2017 +0800 |
tree | d71324194fa1fc155d51c15a45f7e2981a78388e | |
parent | d6da81d10004c64cfc89aca33e15cd60ace5528c [diff] |
x86: Wrap print_ch() with config option print_ch() should not be used if DEBUG_UART is off. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
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 @@ * * U-Boot SPL 2017.01 */ +#ifdef CONFIG_DEBUG_UART printch(' '); +#endif } int cpu_has_64bit(void)