diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-12-01 17:53:45 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-12-01 17:53:45 +0000 |
commit | 657e1de8e742cf81153d2d15545948bd58294200 (patch) | |
tree | 0fa3df23305e3763027f819cde6016dde8b24223 /arch/arm/mach-realview/include/mach/hardware.h | |
parent | 93982535a201399c0023c1166a7f16a335134d5a (diff) | |
parent | 6f13d278836d7251168631faeb0cbf5e4cdd98e5 (diff) |
Merge branch 'for-rmk-realview' of git://linux-arm.org/linux-2.6 into devel
Diffstat (limited to 'arch/arm/mach-realview/include/mach/hardware.h')
-rw-r--r-- | arch/arm/mach-realview/include/mach/hardware.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-realview/include/mach/hardware.h b/arch/arm/mach-realview/include/mach/hardware.h index 79a93b3dfca..b42c14f89ac 100644 --- a/arch/arm/mach-realview/include/mach/hardware.h +++ b/arch/arm/mach-realview/include/mach/hardware.h @@ -25,7 +25,14 @@ #include <asm/sizes.h> /* macro to get at IO space when running virtually */ -#define IO_ADDRESS(x) (((x) & 0x0fffffff) + 0xf0000000) +/* + * Statically mapped addresses: + * + * 10xx xxxx -> fbxx xxxx + * 1exx xxxx -> fdxx xxxx + * 1fxx xxxx -> fexx xxxx + */ +#define IO_ADDRESS(x) (((x) & 0x03ffffff) + 0xfb000000) #define __io_address(n) __io(IO_ADDRESS(n)) #endif |