mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
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>
This commit is contained in:
parent
a78d49473c
commit
339c511106
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ out:
|
||||||
#ifdef SLOW_IO_BY_JUMPING
|
#ifdef SLOW_IO_BY_JUMPING
|
||||||
#define __SLOW_DOWN_IO "\njmp 1f\n1:\tjmp 1f\n1:"
|
#define __SLOW_DOWN_IO "\njmp 1f\n1:\tjmp 1f\n1:"
|
||||||
#else
|
#else
|
||||||
#define __SLOW_DOWN_IO "\noutb %%al,$0x80"
|
#define __SLOW_DOWN_IO "\noutb %%al,$0xed"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef REALLY_SLOW_IO
|
#ifdef REALLY_SLOW_IO
|
||||||
|
|
Loading…
Reference in a new issue