WSL2-Linux-Kernel/arch/arm/mach-ep93xx/include/mach
Florian Fainelli 210dce5faf ARM: ep93xx: properly wait for UART FIFO to be empty
This patch changes the busy-waiting loop around in the decompressor
putc() function on the UART FIFO register. Without a proper wait, the
output of the decompressor was corrupted like this:

Uncompressing Linx. done, booting th enl

To highlight the issue more evidently, looping 100 times instead of 1000
makes the issue appear much faster. This patch takes the approach of
using an active while loop until the FIFO is empty (not FULL).
This issue happened to me on Sim.One running at 200Mhz.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Ryan Mallon <rmallon@gmail.com>
2012-12-12 11:22:56 +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 ep93xx: IDE driver platform support code 2012-06-04 14:40:46 +10: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: properly wait for UART FIFO to be empty 2012-12-12 11:22:56 +11:00