This commit is part of our efforts to get support for opentitan version
1 in qemu, it replaces the previous proposed change, and incorporates
some requests from review comments.
The changes are now being made in the existing opentitan machine,
instead of in a new machine. We have also avoided adding any new helper
units.
This updates the UART device to match our branch, and to match version 1
of opentitan.
This is not where we were going to start previously, but now this is the
easiest starting point.
This commit adds a file that is a substantial copy of code already
published under the MIT licence, and we aren't able to relicence it as
GPL. (unable to get unanimous author agreement)
Lex Bailey (1):
Replace opentitan UART device with newer version (opentitan 1.0)
hw/char/ibex_uart.c | 569 -------------------------------
hw/char/meson.build | 2 +-
hw/char/ot_uart.c | 635 +++++++++++++++++++++++++++++++++++
hw/char/trace-events | 8 +
hw/riscv/opentitan.c | 3 +-
include/hw/char/ibex_uart.h | 73 ----
include/hw/char/ot_uart.h | 133 ++++++++
include/hw/riscv/opentitan.h | 4 +-
8 files changed, 781 insertions(+), 646 deletions(-)
delete mode 100644 hw/char/ibex_uart.c
create mode 100644 hw/char/ot_uart.c
delete mode 100644 include/hw/char/ibex_uart.h
create mode 100644 include/hw/char/ot_uart.h
--
2.49.1