summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/iomap.h
diff options
context:
space:
mode:
authorAshwin Joshi <asjoshi@nvidia.com>2013-10-11 15:41:25 +0530
committerBharat Nihalani <bnihalani@nvidia.com>2013-10-21 03:18:02 -0700
commit3025824bb63dd75997e5f2b6031b04804b9b57c3 (patch)
treedfeb79629d87889ff3a817e23daab98dc165c546 /arch/arm/mach-tegra/iomap.h
parentad2789d187cb4ee6cf31c5743be9993463b135c4 (diff)
arm: tegra12x: iomap: Fix NOR size
Make Tegra NOR size configurable since different Automotive boards have different NOR sizes and that needs to be mapped by the kernel. Bug 1386803 Bug 1373849 Change-Id: Ib2dca855a5eb23c484c054772227cb2a3d562a49 Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com> Reviewed-on: http://git-master/r/301681 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/iomap.h')
-rw-r--r--arch/arm/mach-tegra/iomap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/iomap.h b/arch/arm/mach-tegra/iomap.h
index 590015eab49d..0f63e62de403 100644
--- a/arch/arm/mach-tegra/iomap.h
+++ b/arch/arm/mach-tegra/iomap.h
@@ -938,7 +938,7 @@ defined(CONFIG_ARCH_TEGRA_12x_SOC))
#else
#define IO_NOR_PHYS 0x48000000
#if defined(CONFIG_TEGRA_GMI)
-#define IO_NOR_SIZE (SZ_128M)
+#define IO_NOR_SIZE ((CONFIG_MTD_NOR_TEGRA_VMALLOC_SIZE) * SZ_1M)
#else
#define IO_NOR_SIZE (SZ_64M)
#endif