diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2012-10-20 12:33:16 +0000 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2012-11-30 13:44:05 -0800 |
commit | 339c5111065c2b1893af1e4d6e9431b9496879a4 (patch) | |
tree | c4a665a8a22a2bcd3e8a5c951a70a822f6a5ac1b /arch/x86/include/asm/io.h | |
parent | a78d49473c81b8c95adfe684e62e5af6aa4f902d (diff) | |
download | u-boot-imx-339c5111065c2b1893af1e4d6e9431b9496879a4.zip u-boot-imx-339c5111065c2b1893af1e4d6e9431b9496879a4.tar.gz u-boot-imx-339c5111065c2b1893af1e4d6e9431b9496879a4.tar.bz2 |
x86: 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@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/io.h')
-rw-r--r-- | arch/x86/include/asm/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index 2214958..84a638d 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 |