diff options
author | Alexey Galakhov <agalakhov@gmail.com> | 2013-02-08 16:44:43 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-02-08 16:44:43 -0500 |
commit | f0cdbdd6d8ada085199e6250cbf3b7fbe69392ac (patch) | |
tree | 4e7e5ed90ef126e2e3e7419c40133b3f2202b80c /arch/arm/mach-s5pv210/include | |
parent | 1a4c2a1974a06f31ce1b7d724dfdc5cc1be32006 (diff) |
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: Alexey Galakhov <agalakhov@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210/include')
-rw-r--r-- | arch/arm/mach-s5pv210/include/mach/uncompress.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/include/mach/uncompress.h b/arch/arm/mach-s5pv210/include/mach/uncompress.h index 08ff2fda1fb9..ef977ea8546d 100644 --- a/arch/arm/mach-s5pv210/include/mach/uncompress.h +++ b/arch/arm/mach-s5pv210/include/mach/uncompress.h | |||
@@ -19,6 +19,8 @@ | |||
19 | static void arch_detect_cpu(void) | 19 | static void arch_detect_cpu(void) |
20 | { | 20 | { |
21 | /* we do not need to do any cpu detection here at the moment. */ | 21 | /* we do not need to do any cpu detection here at the moment. */ |
22 | fifo_mask = S5PV210_UFSTAT_TXMASK; | ||
23 | fifo_max = 63 << S5PV210_UFSTAT_TXSHIFT; | ||
22 | } | 24 | } |
23 | 25 | ||
24 | #endif /* __ASM_ARCH_UNCOMPRESS_H */ | 26 | #endif /* __ASM_ARCH_UNCOMPRESS_H */ |