linux-sg2042/arch/arm/mach-ep93xx/include/mach
H Hartley Sweeten 605c357bb4 ARM: ep93xx: Fix wait for UART FIFO to be empty
Commit 210dce5f "ARM: ep93xx: properly wait for UART FIFO to be empty"

Removed the timeout loop while waiting for the uart transmit fifo to
empty. Some bootloaders leave the uart in a state where there might
be bytes in the uart that are not transmitted when execution is handed
over to the kernel. This results in a deadlocked system while waiting
for the fifo to empty.

Add back the timeout wait to prevent the deadlock.

Increase the wait time to hopefully prevent the decompressor corruption
that lead to commit 210dce5f. This corruption was probably due to a
slow uart baudrate. The 10* increase in the wait time should be enough
for all cases.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Ryan Mallon <rmallon@gmail.com>
2013-03-18 09:40:38 +11:00
..
debug-macro.S ARM: add an extra temp register to the low level debugging addruart macro 2011-09-26 10:11:25 -04:00
ep93xx-regs.h ARM: create a common IOMEM definition 2012-03-13 21:22:09 -05:00
gpio-ep93xx.h ep93xx: Move GPIO defines to gpio-ep93xx.h 2012-03-14 11:41:09 +11:00
hardware.h ep93xx: Remove unnecessary includes of ep93xx-regs.h 2012-03-14 11:43:13 +11:00
irqs.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
memory.h ARM: P2V: separate PHYS_OFFSET from platform definitions 2011-02-17 23:26:55 +00:00
platform.h ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
timex.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
uncompress.h ARM: ep93xx: Fix wait for UART FIFO to be empty 2013-03-18 09:40:38 +11:00