[ARM] S3C64XX: Show uncompress messages
authorKyungmin Park <kyungmin.park@samsung.com>
Tue, 25 Nov 2008 07:59:54 +0000 (16:59 +0900)
committerBen Dooks <ben-linux@fluff.org>
Tue, 16 Dec 2008 10:18:55 +0000 (10:18 +0000)
Fix the initialisation of the fifo data in the uncompression serial
routines to ensure that if the FIFO is enabled, that the serial output
is not corrupted.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[ben-linux@fluff.org: edit description to add more detail]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c6400/include/mach/uncompress.h

index cc822c57cc1c079681f44991eca31ceb773d56c9..c6a82a20bf2af66460001c3225ea8d76de64ad02 100644 (file)
@@ -21,6 +21,8 @@
 static void arch_detect_cpu(void)
 {
        /* we do not need to do any cpu detection here at the moment. */
+       fifo_mask = S3C2440_UFSTAT_TXMASK;
+       fifo_max = 63 << S3C2440_UFSTAT_TXSHIFT;
 }
 
 #endif /* __ASM_ARCH_UNCOMPRESS_H */