This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new f0137d51a3 drivers/serial: simplify 16550_PCI_UARTx_CLOCK config
f0137d51a3 is described below

commit f0137d51a3819596271b6dd46004990fdd238d70
Author: p-szafonimateusz <[email protected]>
AuthorDate: Mon Dec 16 11:30:52 2024 +0100

    drivers/serial: simplify 16550_PCI_UARTx_CLOCK config
    
    drivers/serial: simplify 16550_PCI_UARTx_CLOCK config
    
    Signed-off-by: p-szafonimateusz <[email protected]>
---
 drivers/serial/Kconfig-pci | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/serial/Kconfig-pci b/drivers/serial/Kconfig-pci
index e83d066351..ed4cf5d919 100644
--- a/drivers/serial/Kconfig-pci
+++ b/drivers/serial/Kconfig-pci
@@ -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"

Reply via email to