summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/io.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-12-03 06:47:05 -0700
committerTom Rini <trini@ti.com>2012-12-03 06:47:05 -0700
commitce12a8c1a94a2b3d585feff387497f724b98e3ce (patch)
tree6e5db764e27df2465f5e4d9487c7561d14050064 /arch/x86/include/asm/io.h
parentb04eb342af72d5dbcc29ccd7f3f9475044113361 (diff)
parent339c5111065c2b1893af1e4d6e9431b9496879a4 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-x86
Diffstat (limited to 'arch/x86/include/asm/io.h')
-rw-r--r--arch/x86/include/asm/io.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h
index b12bdd8e2b..84a638da78 100644
--- a/arch/x86/include/asm/io.h
+++ b/arch/x86/include/asm/io.h
@@ -36,6 +36,8 @@
#define IO_SPACE_LIMIT 0xffff
+#include <asm/types.h>
+
#ifdef __KERNEL__
@@ -135,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