[PATCH v2 1/8] Move ARM PL011 UART driver

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Sep 29 10:59:02 UTC 2020


On 28/09/2020 17:24, Kinsey Moore wrote:

> This UART driver is now needed for BSPs other than ARM.
> ---
>   bsps/arm/headers.am                                        | 2 --
>   bsps/arm/raspberrypi/console/console-config.c              | 2 +-
>   bsps/arm/realview-pbx-a9/include/bsp/console.h             | 2 +-
>   bsps/arm/xen/console/console.c                             | 2 +-
>   bsps/headers.am                                            | 2 ++
>   bsps/{arm/include/bsp => include/libchip}/arm-pl011-regs.h | 0
>   bsps/{arm/include/bsp => include/libchip}/arm-pl011.h      | 2 +-

For me this libchip inline stuff is a legacy thing. If you really want 
to change the include path, then I suggest to move the serial driver 
header files to:

bsps/shared/include/dev/serial

This is in line with cpukit/include/dev/serial and the source location 
bsps/shared/dev/serial.



More information about the devel mailing list