[PATCH] bsps/xilinx-zynq: Init debug console only once
Chris Johns
chrisj at rtems.org
Fri Jul 1 00:02:06 UTC 2022
OK and thanks
Chris
On 29/6/2022 12:19 am, Sebastian Huber wrote:
> Initialize the debug console only once during early system initialization.
> ---
> bsps/arm/xilinx-zynq/console/debug-console.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/bsps/arm/xilinx-zynq/console/debug-console.c b/bsps/arm/xilinx-zynq/console/debug-console.c
> index 0e9b756f30..1423708bb7 100644
> --- a/bsps/arm/xilinx-zynq/console/debug-console.c
> +++ b/bsps/arm/xilinx-zynq/console/debug-console.c
> @@ -52,10 +52,7 @@ static void zynq_debug_console_init(void)
>
> static void zynq_debug_console_early_init(char c)
> {
> - rtems_termios_device_context *base =
> - &zynq_uart_instances[BSP_CONSOLE_MINOR].base;
> -
> - zynq_uart_initialize(base);
> + zynq_debug_console_init();
> zynq_debug_console_out(c);
> }
>
More information about the devel
mailing list