summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-spear3xx/spear320.c
diff options
context:
space:
mode:
authorviresh kumar2011-03-07 05:57:06 +0100
committerRussell King2011-03-09 10:49:46 +0100
commit53821162fce0e69a8d9fb98ae87ce27c1b500b8e (patch)
tree2aee16c814cea1ddbd0b6e660b08bf6a718f8c65 /arch/arm/mach-spear3xx/spear320.c
parentARM: 6791/1: SPEAr3xx: Declare device structures after shirq code (diff)
downloadkernel-qcow2-linux-53821162fce0e69a8d9fb98ae87ce27c1b500b8e.tar.gz
kernel-qcow2-linux-53821162fce0e69a8d9fb98ae87ce27c1b500b8e.tar.xz
kernel-qcow2-linux-53821162fce0e69a8d9fb98ae87ce27c1b500b8e.zip
ARM: 6792/1: SPEAr: Replace SIZE macro's with SZ_4K macros
Resource size required mostly is 4K for all devices, whereas currently reserved space is much beyond that. This patch replaces SIZE macro's used at multiple places with SZ_4K. Reviewed-by: Stanley Miao <stanley.miao@windriver.com> Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com> Signed-off-by: Rajeev Kumar <rajeev-dlh.kumar@st.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-spear3xx/spear320.c')
-rw-r--r--arch/arm/mach-spear3xx/spear320.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-spear3xx/spear320.c b/arch/arm/mach-spear3xx/spear320.c
index 8ba3ff252942..741c1f414cbd 100644
--- a/arch/arm/mach-spear3xx/spear320.c
+++ b/arch/arm/mach-spear3xx/spear320.c
@@ -520,7 +520,7 @@ void __init spear320_init(void)
spear3xx_init();
/* shared irq registration */
- base = ioremap(SPEAR320_SOC_CONFIG_BASE, SPEAR320_SOC_CONFIG_SIZE);
+ base = ioremap(SPEAR320_SOC_CONFIG_BASE, SZ_4K);
if (base) {
/* shirq 1 */
shirq_ras1.regs.base = base;