提交 f0cdbdd6 编写于 作者: A Alexey Galakhov 提交者: Kukjin Kim

ARM: S5PV210: Fix early uart output in fifo mode

Enabling UART FIFO in bootloader caused the kernel infinite
loop on S5PV210 due to uninitialized fifo_max and fifo_mask global
variables. This patch adds the correct initialization.
Signed-off-by: NAlexey Galakhov <agalakhov@gmail.com>
Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
上级 1a4c2a19
......@@ -19,6 +19,8 @@
static void arch_detect_cpu(void)
{
/* we do not need to do any cpu detection here at the moment. */
fifo_mask = S5PV210_UFSTAT_TXMASK;
fifo_max = 63 << S5PV210_UFSTAT_TXSHIFT;
}
#endif /* __ASM_ARCH_UNCOMPRESS_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册