[PATCH 09/13] xtensa: io.h: Add defines for ins/outs functions
Igor Prusov
ivprusov at salutedevices.com
Tue Nov 14 12:02:53 CET 2023
Add defines for {in,out}s{b,w,l}() functions to make asm-generic/io.h
aware of them.
Signed-off-by: Igor Prusov <ivprusov at salutedevices.com>
---
arch/xtensa/include/asm/io.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/xtensa/include/asm/io.h b/arch/xtensa/include/asm/io.h
index 76a646e882..87ad9faa29 100644
--- a/arch/xtensa/include/asm/io.h
+++ b/arch/xtensa/include/asm/io.h
@@ -76,6 +76,12 @@ void insl(unsigned long port, void *dst, unsigned long count);
void outsb(unsigned long port, const void *src, unsigned long count);
void outsw(unsigned long port, const void *src, unsigned long count);
void outsl(unsigned long port, const void *src, unsigned long count);
+#define insb insb
+#define insw insw
+#define insl insl
+#define outsb outsb
+#define outsw outsw
+#define outsl outsl
#define IO_SPACE_LIMIT ~0
--
2.34.1
More information about the U-Boot
mailing list