diff options
author | Kinsey Moore <kinsey.moore@oarcorp.com> | 2021-01-14 07:58:15 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-01-14 13:32:06 -0600 |
commit | 7c30dca2b5385c0e8ffab8331ab2f214e9741d0b (patch) | |
tree | 7221354f80ca1cebe320071cbd1a95f77e18f021 /bsps/aarch64/xilinx-zynqmp/console/console.c | |
parent | cpukit: Merge FreeBSD values for the priorities (diff) | |
download | rtems-7c30dca2b5385c0e8ffab8331ab2f214e9741d0b.tar.bz2 |
bsps/aarch64: Swap primary ZynqMP UART
Both Qemu and actual hardware treat the second UART in memory map as the
primary UART. This adjusts the ZynqMP BSPs to match.
Diffstat (limited to 'bsps/aarch64/xilinx-zynqmp/console/console.c')
-rw-r--r-- | bsps/aarch64/xilinx-zynqmp/console/console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsps/aarch64/xilinx-zynqmp/console/console.c b/bsps/aarch64/xilinx-zynqmp/console/console.c index a22a194782..84e158d3f6 100644 --- a/bsps/aarch64/xilinx-zynqmp/console/console.c +++ b/bsps/aarch64/xilinx-zynqmp/console/console.c @@ -46,11 +46,11 @@ static zynq_uart_context zynqmp_uart_instances[2] = { { .base = RTEMS_TERMIOS_DEVICE_CONTEXT_INITIALIZER( "Zynq UART 0" ), - .regs = (volatile struct zynq_uart *) 0xff000000, + .regs = (volatile struct zynq_uart *) 0xff010000, .irq = ZYNQMP_IRQ_UART_0 }, { .base = RTEMS_TERMIOS_DEVICE_CONTEXT_INITIALIZER( "Zynq UART 1" ), - .regs = (volatile struct zynq_uart *) 0xff010000, + .regs = (volatile struct zynq_uart *) 0xff000000, .irq = ZYNQMP_IRQ_UART_1 } }; |