projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45ffa12
)
x86: Wrap print_ch() with config option
author
Bin Meng
<bmeng.cn@gmail.com>
Wed, 18 Jan 2017 11:32:52 +0000
(
03:32
-0800)
committer
Bin Meng
<bmeng.cn@gmail.com>
Tue, 7 Feb 2017 05:23:07 +0000
(13:23 +0800)
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>
arch/x86/cpu/x86_64/cpu.c
patch
|
blob
|
history
diff --git
a/arch/x86/cpu/x86_64/cpu.c
b/arch/x86/cpu/x86_64/cpu.c
index
77cbb56
..
db171f7
100644
(file)
--- 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)