From a7d9d4bc1e8953a5cedd10885cf0f2cf660fdf47 Mon Sep 17 00:00:00 2001 From: zhangyuan7 Date: Thu, 8 Nov 2018 10:21:16 -0600 Subject: [PATCH] drivers/serial/uart_16550.c: Fox UART flow control issue. UART_MCR_RTS need be high even UART_MCR_AFCE is enabled --- drivers/serial/uart_16550.c | 2 ++ fs/procfs/Kconfig | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/serial/uart_16550.c b/drivers/serial/uart_16550.c index 24c7fb4029..6dd0aee14b 100644 --- a/drivers/serial/uart_16550.c +++ b/drivers/serial/uart_16550.c @@ -713,6 +713,8 @@ static int u16550_setup(FAR struct uart_dev_s *dev) mcr &= ~UART_MCR_AFCE; } + mcr |= UART_MCR_RTS; + u16550_serialout(priv, UART_MCR_OFFSET, mcr); #endif /* defined(CONFIG_SERIAL_IFLOWCONTROL) || defined(CONFIG_SERIAL_OFLOWCONTROL) */ diff --git a/fs/procfs/Kconfig b/fs/procfs/Kconfig index 784725ad3b..b07c1a3a9d 100644 --- a/fs/procfs/Kconfig +++ b/fs/procfs/Kconfig @@ -80,7 +80,7 @@ config FS_PROCFS_EXCLUDE_UPTIME config FS_PROCFS_EXCLUDE_VERSION bool "Exclude version" - default n + default y config FS_PROCFS_EXCLUDE_CPULOAD bool "Exclude CPU load"