diff options
author | viresh kumar <viresh.kumar@st.com> | 2011-02-16 07:40:28 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-03-09 09:49:44 +0000 |
commit | f9324a85c10ee109022672ec72db9e2eb37050ee (patch) | |
tree | 8ad796a19197f68759b942d5844f42fc6b94c45d /arch/arm/mach-spear6xx/include/mach/hardware.h | |
parent | a5abba989deceb731047425812d268daf7536575 (diff) | |
download | blackbird-op-linux-f9324a85c10ee109022672ec72db9e2eb37050ee.tar.gz blackbird-op-linux-f9324a85c10ee109022672ec72db9e2eb37050ee.zip |
ARM: 6677/1: SPEAr: add IOMEM(x) definition and update declaration of MISC_BASE
Add IOMEM(x) definition, and use it with MISC_BASE for SPEAr platform.
With this there is no need to typecast misc macros to (unsigned int *).
Reviewed-by: Stanley Miao <stanley.miao@windriver.com>
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-spear6xx/include/mach/hardware.h')
-rw-r--r-- | arch/arm/mach-spear6xx/include/mach/hardware.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-spear6xx/include/mach/hardware.h b/arch/arm/mach-spear6xx/include/mach/hardware.h index 7545116deca9..0291476ca6da 100644 --- a/arch/arm/mach-spear6xx/include/mach/hardware.h +++ b/arch/arm/mach-spear6xx/include/mach/hardware.h @@ -14,8 +14,9 @@ #ifndef __MACH_HARDWARE_H #define __MACH_HARDWARE_H +#include <plat/hardware.h> + /* Vitual to physical translation of statically mapped space */ #define IO_ADDRESS(x) (x | 0xF0000000) #endif /* __MACH_HARDWARE_H */ - |