ARM: 6677/1: SPEAr: add IOMEM(x) definition and update declaration of MISC_BASE
authorviresh kumar <viresh.kumar@st.com>
Wed, 16 Feb 2011 06:40:28 +0000 (07:40 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 9 Mar 2011 09:49:44 +0000 (09:49 +0000)
commitf9324a85c10ee109022672ec72db9e2eb37050ee
tree8ad796a19197f68759b942d5844f42fc6b94c45d
parenta5abba989deceb731047425812d268daf7536575
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>
arch/arm/mach-spear3xx/include/mach/hardware.h
arch/arm/mach-spear3xx/include/mach/misc_regs.h
arch/arm/mach-spear6xx/include/mach/hardware.h
arch/arm/mach-spear6xx/include/mach/misc_regs.h
arch/arm/plat-spear/include/plat/hardware.h [new file with mode: 0644]