drivers/serial: simplify 16550_PCI_UARTx_CLOCK config

drivers/serial: simplify 16550_PCI_UARTx_CLOCK config

Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
This commit is contained in:
p-szafonimateusz 2024-12-16 11:30:52 +01:00 committed by Xiang Xiao
parent 9f93621b90
commit f0137d51a3

View file

@ -118,6 +118,7 @@ config 16550_PCI_UART1_PORT
config 16550_PCI_UART1_CLOCK
int "16550 UART1 PCI clock"
default 16550_PCI_UART0_CLOCK
config 16550_PCI_UART1_BAUD
int "16550 UART1 PCI BAUD"
@ -179,6 +180,7 @@ config 16550_PCI_UART2_PORT
config 16550_PCI_UART2_CLOCK
int "16550 UART2 PCI clock"
default 16550_PCI_UART1_CLOCK
config 16550_PCI_UART2_BAUD
int "16550 UART2 PCI BAUD"
@ -240,6 +242,7 @@ config 16550_PCI_UART3_PORT
config 16550_PCI_UART3_CLOCK
int "16550 UART3 PCI clock"
default 16550_PCI_UART2_CLOCK
config 16550_PCI_UART3_BAUD
int "16550 UART3 PCI BAUD"