]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
x86: Don't spam POST80 codes with slow IO functions
authorStefan Reinauer <reinauer@chromium.org>
Sat, 20 Oct 2012 12:33:16 +0000 (12:33 +0000)
committerSimon Glass <sjg@chromium.org>
Fri, 30 Nov 2012 21:44:05 +0000 (13:44 -0800)
This patch prevents u-boot from "spamming" random progress codes on
a port 80 "post card".
The previous version of this patch just removed the delays in the "slow"
IO functions, as they do not need to be slow, however, this patch is
less intrusive.

It uses another unused port that is often used by BIOSes (and the Linux
Kernel) for small delay timing purposes.

Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/io.h

index 2214958d6b8bf40db1d7db2fd7d8a9d86fe681fd..84a638da78df17ca46d8c62c4750d17bc6d97d28 100644 (file)
@@ -137,7 +137,7 @@ out:
 #ifdef SLOW_IO_BY_JUMPING
 #define __SLOW_DOWN_IO "\njmp 1f\n1:\tjmp 1f\n1:"
 #else
-#define __SLOW_DOWN_IO "\noutb %%al,$0x80"
+#define __SLOW_DOWN_IO "\noutb %%al,$0xed"
 #endif
 
 #ifdef REALLY_SLOW_IO