diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-01-18 03:32:52 -0800 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2017-02-07 13:23:07 +0800 |
commit | 020a5d4f633e760995b6104cac1f68132469e4b0 (patch) | |
tree | d71324194fa1fc155d51c15a45f7e2981a78388e | |
parent | 45ffa122f2533376d2e58817d69c9149d91afc0f (diff) | |
download | u-boot-020a5d4f633e760995b6104cac1f68132469e4b0.zip u-boot-020a5d4f633e760995b6104cac1f68132469e4b0.tar.gz u-boot-020a5d4f633e760995b6104cac1f68132469e4b0.tar.bz2 |
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>
-rw-r--r-- | arch/x86/cpu/x86_64/cpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |