[PATCH v3 0/3] bsps/microblaze: FDT support and UART driver improvements

Alex White alex.white at oarcorp.com
Mon Apr 10 03:47:56 UTC 2023


v3:
- Support multiple UARTs only if the BSP is configured to use FDT. This allows
  for flexibility since the user now just has to specify the maximum number of
  UARTs, and the UART configurations will be read from the FDT. In the previous
  version of this patch set, the extra UARTs were all configured at build time
  which was not very flexible and required adding a lot of extra BSP options.

v2:
- Allow UART driver to fill the transmit FIFO rather than just sending one byte
  at a time.

Maldonado, Sergio E. (GSFC-580.0) (3):
  bsps/microblaze: Allow copying FDT from U-Boot
  bsps/microblaze: Add support for multiple UARTs
  bsps/microblaze: Fix UART transmit interrupt

 bsps/microblaze/include/dev/serial/uartlite.h |   4 +
 .../microblaze_fpga/console/console-io.c      | 205 ++++++++++++++++--
 bsps/microblaze/microblaze_fpga/include/bsp.h |   3 +
 .../microblaze_fpga/start/crtinit.S           |   6 +-
 .../microblaze_invalidate_dcache_range.S      | 104 +++++++++
 bsps/microblaze/shared/dev/serial/uartlite.c  |  30 ++-
 .../shared/fdt/microblaze-fdt-support.c       |  36 ++-
 .../bsps/microblaze/microblaze_fpga/grp.yml   |  14 ++
 .../bsps/microblaze/microblaze_fpga/obj.yml   |   2 +-
 .../microblaze_fpga/optconsoleuart.yml        |  21 ++
 .../microblaze_fpga/optmaxuarts.yml           |  21 ++
 .../microblaze/microblaze_fpga/optuartirq.yml |  20 ++
 .../microblaze/microblaze_fpga/optuseuart.yml |  17 ++
 13 files changed, 446 insertions(+), 37 deletions(-)
 create mode 100644 bsps/microblaze/microblaze_fpga/start/microblaze_invalidate_dcache_range.S
 create mode 100644 spec/build/bsps/microblaze/microblaze_fpga/optconsoleuart.yml
 create mode 100644 spec/build/bsps/microblaze/microblaze_fpga/optmaxuarts.yml
 create mode 100644 spec/build/bsps/microblaze/microblaze_fpga/optuartirq.yml
 create mode 100644 spec/build/bsps/microblaze/microblaze_fpga/optuseuart.yml

-- 
2.34.1



More information about the devel mailing list