Skip to content

Commit

Permalink
drivers/serial: simplify 16550_PCI_UARTx_CLOCK config
Browse files Browse the repository at this point in the history
drivers/serial: simplify 16550_PCI_UARTx_CLOCK config

Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
  • Loading branch information
szafonimateusz-mi committed Jan 2, 2025
1 parent 1fad0f1 commit a3e4233
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/serial/Kconfig-pci
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit a3e4233

Please sign in to comment.