diff options
author | Michel Stam <m.stam@fugro.nl> | 2014-04-07 12:01:20 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-04-08 08:17:55 +0200 |
commit | 4d94f56c6c5ba00d35d6b3e3a1862439b2ced3f0 (patch) | |
tree | b3efb2fad02e4abe18ca0d0baefee5ebae6a3875 /arch/x86 | |
parent | 0a5529d0edcd8c00a679c485f7266548851c6948 (diff) | |
download | barebox-4d94f56c6c5ba00d35d6b3e3a1862439b2ced3f0.tar.gz barebox-4d94f56c6c5ba00d35d6b3e3a1862439b2ced3f0.tar.xz |
common: Allow for I/O mapped I/O
Rework the current framework so that I/O mapped I/O resources are
also possible.
Signed-off-by: Michel Stam <michel@reverze.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/include/asm/io.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index 9cb78e41ec..f020510569 100644 --- a/arch/x86/include/asm/io.h +++ b/arch/x86/include/asm/io.h @@ -12,6 +12,8 @@ #include <asm/byteorder.h> +#define IO_SPACE_LIMIT 0xffff + static inline void outb(unsigned char value, int port) { asm volatile("outb %b0, %w1" : : "a"(value), "Nd"(port)); |