]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/char/imx_serial: Fix reset value of UFCR register
authorBernhard Beschow <shentey@gmail.com>
Sat, 11 Jan 2025 18:37:00 +0000 (19:37 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 27 Jan 2025 13:50:14 +0000 (13:50 +0000)
commitb6cd77fbddf020d4dad23476b286fbeb22d4c334
treed6a2e8494307152767a9dae87f8e88787c29255a
parentdeeb9969357d377110ac61fe3c6482c7303313ae
hw/char/imx_serial: Fix reset value of UFCR register

The value of the UCFR register is respected when echoing characters to the
terminal, but its reset value is reserved. Fix the reset value to the one
documented in the datasheet.

While at it move the related attribute out of the section of unimplemented
registers since its value is actually respected.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/char/imx_serial.c
include/hw/char/imx_serial.h