aarch64/zynqmp: Use IRQs for management console

Swap the zynqmp management console to interrupt-driven operation to
avoid losing data in under-polled situations.
This commit is contained in:
Kinsey Moore
2023-06-22 08:20:57 -05:00
committed by Joel Sherrill
parent e49e8daf3d
commit 3d8fa0ef00
2 changed files with 3 additions and 1 deletions

View File

@@ -225,7 +225,7 @@ rtems_status_code console_initialize(
if ( zynqmp_mgmt_uart_context.port != 0 ) {
rtems_termios_device_install(
"/dev/ttyMGMT0",
&ns16550_handler_polled,
&ns16550_handler_interrupt,
NULL,
&zynqmp_mgmt_uart_context.base
);

View File

@@ -45,6 +45,8 @@
#include <bspopts.h>
#define BSP_FEATURE_IRQ_EXTENSION
#ifndef ASM
#include <bsp/default-initial-extension.h>