summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-spear3xx/include/mach/hardware.h
diff options
context:
space:
mode:
authorviresh kumar <viresh.kumar@st.com>2011-02-16 07:40:28 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-03-09 09:49:44 +0000
commitf9324a85c10ee109022672ec72db9e2eb37050ee (patch)
tree8ad796a19197f68759b942d5844f42fc6b94c45d /arch/arm/mach-spear3xx/include/mach/hardware.h
parenta5abba989deceb731047425812d268daf7536575 (diff)
downloadblackbird-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-spear3xx/include/mach/hardware.h')
-rw-r--r--arch/arm/mach-spear3xx/include/mach/hardware.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-spear3xx/include/mach/hardware.h b/arch/arm/mach-spear3xx/include/mach/hardware.h
index 4a86e6a3c444..490e86a6b0c7 100644
--- a/arch/arm/mach-spear3xx/include/mach/hardware.h
+++ b/arch/arm/mach-spear3xx/include/mach/hardware.h
@@ -14,6 +14,8 @@
#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)
OpenPOWER on IntegriCloud