Changeset 5da3ff47 in rtems


Ignore:
Timestamp:
05/24/23 09:29:10 (4 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
bdb4bc4
Parents:
bc31fb65
git-author:
Sebastian Huber <sebastian.huber@…> (05/24/23 09:29:10)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/26/23 04:56:11)
Message:

arm/xilinx-zynq: Initialize debug console once

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/arm/xilinx-zynq/console/debug-console.c

    rbc31fb65 r5da3ff47  
    5151}
    5252
     53static void zynq_debug_console_early_init(char c);
     54
    5355static void zynq_debug_console_init(void)
    5456{
    5557  rtems_termios_device_context *base =
    5658    &zynq_uart_instances[BSP_CONSOLE_MINOR].base;
     59
     60  if (BSP_output_char != zynq_debug_console_early_init) {
     61    return;
     62  }
    5763
    5864  zynq_uart_initialize(base);
Note: See TracChangeset for help on using the changeset viewer.