From 87e7373fc587fae56fc429373eebc2223edf2d25 Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Tue, 28 Apr 2015 16:59:57 +0200 Subject: [PATCH] Don't enable RTS/CTS by default in new AR933x UART driver, because we are not able to control GPIO17 (LED6) after that... it looks like another mistake in datasheet. --- u-boot/cpu/mips/ar7240/ar933x_serial.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/u-boot/cpu/mips/ar7240/ar933x_serial.c b/u-boot/cpu/mips/ar7240/ar933x_serial.c index 8001795..e5d5384 100644 --- a/u-boot/cpu/mips/ar7240/ar933x_serial.c +++ b/u-boot/cpu/mips/ar7240/ar933x_serial.c @@ -158,14 +158,13 @@ int serial_init(void) u32 uart_cs; /* - * Set GPIO10 (UART_SO) as output and enable UART and RTS/CTS, + * Set GPIO10 (UART_SO) as output and enable UART, * BIT(15) in GPIO_FUNCTION_1 register must be written with 1 */ ar933x_reg_read_set(GPIO_OE_REG, GPIO10); ar933x_reg_read_set(GPIO_FUNCTION_1_REG, (1 << GPIO_FUNCTION_1_UART_EN_SHIFT) | - (1 << GPIO_FUNCTION_1_UART_RTS_CTS_EN_SHIFT) | (1 << 15)); /* -- 2.25.1