From: Alexander Shiyan Date: Sun, 18 Aug 2013 20:16:59 +0000 (+0900) Subject: ARM: SAMSUNG: Fix switching FIFO in arch_enable_uart_fifo function X-Git-Tag: next-20130919~5^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=32a18c0a42d3733111376ee33e0d9c3bb29f385d;p=karo-tx-linux.git ARM: SAMSUNG: Fix switching FIFO in arch_enable_uart_fifo function 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 Reviewed-by: Tomasz Figa Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/plat-samsung/include/plat/uncompress.h b/arch/arm/plat-samsung/include/plat/uncompress.h index 4afc32f90b6d..f48dc0a4736c 100644 --- a/arch/arm/plat-samsung/include/plat/uncompress.h +++ b/arch/arm/plat-samsung/include/plat/uncompress.h @@ -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