ARM: SAMSUNG: Fix switching FIFO in arch_enable_uart_fifo function
authorAlexander Shiyan <shc_work@mail.ru>
Sun, 18 Aug 2013 20:16:59 +0000 (05:16 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sun, 1 Dec 2013 22:24:35 +0000 (07:24 +0900)
When CONFIG_S3C_BOOT_UART_FORCE_FIFO symbol is set, we should
enable FIFO but actually switch command is missing in the code.
This patch adds this switching.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/include/plat/uncompress.h

index 4afc32f90b6d51f553e7d987cf972730466adb57..f48dc0a4736c8d2d1703a29dc0ece5bb9662f3ca 100644 (file)
@@ -145,6 +145,8 @@ static inline void arch_enable_uart_fifo(void)
                        if (!(fifocon & S3C2410_UFCON_RESETBOTH))
                                break;
                }
+
+               uart_wr(S3C2410_UFCON, S3C2410_UFCON_FIFOMODE);
        }
 }
 #else
This page took 0.025831 seconds and 5 git commands to generate.