Skip to content

Commit 7f68744

Browse files
baoleiyuankelvincheung
authored andcommitted
driver: uart: disable flow control for uart
this patch disable flow control for uart Signed-off-by: baoleiyuan <baolei.yuan@unisoc.com>
1 parent acc8180 commit 7f68744

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/include/hal_uart.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ static inline void uwp_uart_init(volatile struct uwp_uart *uart)
174174
uart->ctrl2.bit.rxf_full_thld = 1;
175175
uart->ctrl2.bit.txf_empty_thld = 64;
176176
/*for hardware flow control*/
177-
uart->ctrl1.bit.rcv_hw_flow_en = 1;
178-
uart->ctrl1.bit.rcv_hw_flow_thld = 50;
179-
uart->ctrl1.bit.tx_hw_flow_en = 1;
177+
//uart->ctrl1.bit.rcv_hw_flow_en = 1;
178+
//uart->ctrl1.bit.rcv_hw_flow_thld = 50;
179+
//uart->ctrl1.bit.tx_hw_flow_en = 1;
180180
}
181181

182182
static inline void uwp_uart_int_enable(volatile struct uwp_uart *uart,

0 commit comments

Comments
 (0)