summaryrefslogtreecommitdiff
path: root/arch/x86/include
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2011-09-19 09:42:33 -0700
committerStefan Reinauer <reinauer@google.com>2011-09-19 13:46:31 -0700
commit8ce00eac45983b0e5a3668ec88b9aa5e5b824413 (patch)
tree2997882c122c4192b48328016292459a02296891 /arch/x86/include
parente77f3d97fd98815d60391af31d928ec192905d19 (diff)
Don't spam POST80 codes with slow IO functions
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@google.com> BUG=none TEST=boot coreboot+u-boot, see the right post codes come up. Change-Id: I9d1cc6de4472f5bb1f7b5ec6959273bfbfaa760b Reviewed-on: http://gerrit.chromium.org/gerrit/7778 Reviewed-by: Simon Glass <sjg@chromium.org> Commit-Ready: Stefan Reinauer <reinauer@google.com> Tested-by: Stefan Reinauer <reinauer@google.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h
index 31038d42394..8e93e2be948 100644
--- a/arch/x86/include/asm/io.h
+++ b/arch/x86/include/asm/io.h
@@ -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