serial/pl011: rename serial_pl011 to uart_pl011

The lower half driver should be prefixed with "uart_"

Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
chao an 2024-01-11 12:49:07 +08:00 committed by Alin Jerpelea
parent 181a31801d
commit 5f51aba1be
3 changed files with 9 additions and 9 deletions

View File

@ -26,10 +26,6 @@ if(CONFIG_SERIAL_GDBSTUB)
list(APPEND SRCS serial_gdbstub.c)
endif()
if(CONFIG_UART_PL011)
list(APPEND SRCS serial_pl011.c)
endif()
if(CONFIG_SERIAL_RXDMA)
list(APPEND SRCS serial_dma.c)
elseif(CONFIG_SERIAL_TXDMA)
@ -40,6 +36,10 @@ if(CONFIG_16550_UART)
list(APPEND SRCS uart_16550.c)
endif()
if(CONFIG_UART_PL011)
list(APPEND SRCS uart_pl011.c)
endif()
if(CONFIG_RPMSG_UART)
list(APPEND SRCS uart_rpmsg.c)
endif()

View File

@ -26,10 +26,6 @@ ifeq ($(CONFIG_SERIAL_GDBSTUB),y)
CSRCS += serial_gdbstub.c
endif
ifeq ($(CONFIG_UART_PL011),y)
CSRCS += serial_pl011.c
endif
ifeq ($(CONFIG_SERIAL_RXDMA),y)
CSRCS += serial_dma.c
else ifeq ($(CONFIG_SERIAL_TXDMA),y)
@ -40,6 +36,10 @@ ifeq ($(CONFIG_16550_UART),y)
CSRCS += uart_16550.c
endif
ifeq ($(CONFIG_UART_PL011),y)
CSRCS += uart_pl011.c
endif
ifeq ($(CONFIG_RPMSG_UART),y)
CSRCS += uart_rpmsg.c
endif

View File

@ -1,5 +1,5 @@
/***************************************************************************
* drivers/serial/serial_pl011.c
* drivers/serial/uart_pl011.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with