Commit 16532759 authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Kukjin Kim

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: default avatarAlexander Shiyan <shc_work@mail.ru>
Reviewed-by: default avatarTomasz Figa <t.figa@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 6ce4eac1
...@@ -145,6 +145,8 @@ static inline void arch_enable_uart_fifo(void) ...@@ -145,6 +145,8 @@ static inline void arch_enable_uart_fifo(void)
if (!(fifocon & S3C2410_UFCON_RESETBOTH)) if (!(fifocon & S3C2410_UFCON_RESETBOTH))
break; break;
} }
uart_wr(S3C2410_UFCON, S3C2410_UFCON_FIFOMODE);
} }
} }
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment