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>
This commit is contained in:
parent
45ffa122f2
commit
020a5d4f63
|
@ -31,7 +31,9 @@ void arch_setup_gd(gd_t *new_gd)
|
||||||
*
|
*
|
||||||
* U-Boot SPL 2017.01
|
* U-Boot SPL 2017.01
|
||||||
*/
|
*/
|
||||||
|
#ifdef CONFIG_DEBUG_UART
|
||||||
printch(' ');
|
printch(' ');
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
int cpu_has_64bit(void)
|
int cpu_has_64bit(void)
|
||||||
|
|
Loading…
Reference in New Issue