arm: zynq: Enable debug_uart_init in spl when enabled
In past this code was commented and was used for debug purpose. But there is no reason not to enabled it based on macros. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
da342f06b3
commit
57213c5f37
@ -17,11 +17,12 @@ void board_init_f(ulong dummy)
|
|||||||
ps7_init();
|
ps7_init();
|
||||||
|
|
||||||
arch_cpu_init();
|
arch_cpu_init();
|
||||||
/*
|
|
||||||
* The debug UART can be used from this point:
|
#ifdef CONFIG_DEBUG_UART
|
||||||
* debug_uart_init();
|
/* Uart debug for sure */
|
||||||
* printch('x');
|
debug_uart_init();
|
||||||
*/
|
puts("Debug uart enabled\n"); /* or printch() */
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_SPL_BOARD_INIT
|
#ifdef CONFIG_SPL_BOARD_INIT
|
||||||
|
Loading…
Reference in New Issue
Block a user