diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2008-04-18 22:43:12 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2008-04-18 22:43:12 +0100 |
commit | 51faf9b5c048f9e465322f8256e838586f4c11a7 (patch) | |
tree | 3892e01c2fabebc4c71fc573449f925c8ac312af /include/asm-arm/arch-realview/hardware.h | |
parent | 41267e208e3ad5d960284a908c58d4c27cc5857b (diff) |
RealView: Change the IO_ADDRESS macro
This patch changes the IO_ADDRESS macro for the RealView platforms to
accomodate a wider range of physical addresses on PB11MPCore.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'include/asm-arm/arch-realview/hardware.h')
-rw-r--r-- | include/asm-arm/arch-realview/hardware.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/arch-realview/hardware.h b/include/asm-arm/arch-realview/hardware.h index bad8d7ce9bf..1ee8313ceb6 100644 --- a/include/asm-arm/arch-realview/hardware.h +++ b/include/asm-arm/arch-realview/hardware.h @@ -25,7 +25,7 @@ #include <asm/sizes.h> /* macro to get at IO space when running virtually */ -#define IO_ADDRESS(x) ((((x) & 0x0effffff) | (((x) >> 4) & 0x0f000000)) + 0xf0000000) +#define IO_ADDRESS(x) (((x) & 0x0fffffff) + 0xf0000000) #define __io_address(n) __io(IO_ADDRESS(n)) #endif |