[PATCH 2/3] dev/serial: Add ZYNQ_UART_[01]_BASE_ADDR

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Mar 25 06:31:31 UTC 2024


On 22.03.24 16:10, Kinsey Moore wrote:
> Putting these UART addresses in BSP options suggests that they're 
> user-configurable when they aren't. ZynqMP can use the ZYNQMP_UART0/1 
> from bsps/include/peripheral_maps/xilinx_zynqmp.h, but Zynq would need 
> its own peripheral map to reference.

This UART support is used by four BSP families. Currently a lot of copy 
and past is involved. Defining the two UART base addresses though a BSP 
option was the easiest approach I found to do this. I would remove the 
xilinx_zynqmp.h header file since normally you use the xparameters.h for 
your application depending on the system configuration.

-- 
embedded brains GmbH & Co. KG
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list