aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-11-28 16:19:19 -0500
committerTom Rini <trini@konsulko.com>2023-11-28 16:19:19 -0500
commit38cc6cdeb104d4835a73b8946b31e30ce762ddeb (patch)
tree78b962005441f24b3042b2c9f8b21d7cfcf98922 /arch/x86/include
parent66c21738fd5ac3f23929911dd7aa38e1a3671eb9 (diff)
parent89994d64acbaf2e864d2050730abab5fb3b6f956 (diff)
downloadu-boot-38cc6cdeb104d4835a73b8946b31e30ce762ddeb.zip
u-boot-38cc6cdeb104d4835a73b8946b31e30ce762ddeb.tar.gz
u-boot-38cc6cdeb104d4835a73b8946b31e30ce762ddeb.tar.bz2
Merge patch series "Import "string" I/O functions from Linux"
To quote the author: This series imports generic versions of ioread_rep/iowrite_rep and reads/writes from Linux. Some cleanup is done to make sure that all platforms have proper defines for implemented functions and there are no redefinitions.
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/io.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h
index 83dc097..5efb2e1 100644
--- a/arch/x86/include/asm/io.h
+++ b/arch/x86/include/asm/io.h
@@ -202,10 +202,16 @@ __OUT(l,,int)
__INS(b)
__INS(w)
__INS(l)
+#define insb insb
+#define insw insw
+#define insl insl
__OUTS(b)
__OUTS(w)
__OUTS(l)
+#define outsb outsb
+#define outsw outsw
+#define outsl outsl
/* IO space accessors */
#define clrio(type, addr, clear) \