kernel-ark/arch/arm/mach-ep93xx
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
..
include/mach ARM: ep93xx: properly wait for UART FIFO to be empty 2012-12-12 11:22:56 +11:00
adssphere.c ARM: ep93xx: Fix build error due to 'SZ_32M' undeclared 2012-09-07 16:41:59 +10:00
clock.c ep93xx: Make syscon access functions private to SoC 2012-03-14 11:43:06 +11:00
core.c ARM: ep93xx: move platform_data definitions 2012-09-14 11:16:55 +02:00
crunch-bits.S ep93xx: Move crunch code to mach-ep93xx directory 2012-03-14 11:43:10 +11:00
crunch.c ARM: ep93xx: use machine specific hook for late init 2012-05-05 14:20:34 +08:00
dma.c ARM: ep93xx: move platform_data definitions 2012-09-14 11:16:55 +02:00
edb93xx.c ARM: ep93xx: move platform_data definitions 2012-09-14 11:16:55 +02:00
gesbc9312.c ARM: ep93xx: Fix build error due to 'SZ_32M' undeclared 2012-09-07 16:41:59 +10:00
Kconfig arm: ep93xx: use gpio_led_register_device 2012-04-12 09:38:15 +10:00
Makefile ep93xx: Move crunch code to mach-ep93xx directory 2012-03-14 11:43:10 +11:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
micro9.c ARM: ep93xx: use machine specific hook for late init 2012-05-05 14:20:34 +08:00
simone.c ARM: ep93xx: move platform_data definitions 2012-09-14 11:16:55 +02:00
snappercl15.c ARM: ep93xx: move platform_data definitions 2012-09-14 11:16:55 +02:00
soc.h ep93xx: IDE driver platform support code 2012-06-04 14:40:46 +10:00
ts72xx.c ARM: ep93xx: Move ts72xx.h out of include/mach 2012-09-17 09:09:08 +10:00
ts72xx.h ARM: ep93xx: Move ts72xx.h out of include/mach 2012-09-17 09:09:08 +10:00
vision_ep9307.c ARM: ep93xx: move platform_data definitions 2012-09-14 11:16:55 +02:00