summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/iomap.h
diff options
context:
space:
mode:
authorNitin Sehgal <nsehgal@nvidia.com>2013-04-03 17:24:45 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:07:37 -0700
commit06efcca10fa7c75f9e0a5dcea94d36d7d310b957 (patch)
tree1c47fb2440c81f84cfa4031698bcacbb5ef8ead6 /arch/arm/mach-tegra/iomap.h
parent09f5b245a965dbde3e67e2fc42710c4a6fbe064e (diff)
arm: tegra: iomap: Reduce NOR aperture to 64MB when NOR_TEGRA_GMI disabled.
bug 1254519 Change-Id: Ib3f176bd16243f11abc8f8b95684203d14f2cf2a Signed-off-by: Nitin Sehgal <nsehgal@nvidia.com> Reviewed-on: http://git-master/r/216127 GVS: Gerrit_Virtual_Submit Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/iomap.h')
-rw-r--r--arch/arm/mach-tegra/iomap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/iomap.h b/arch/arm/mach-tegra/iomap.h
index 8f70530d9d9d..e4cd7f9a9619 100644
--- a/arch/arm/mach-tegra/iomap.h
+++ b/arch/arm/mach-tegra/iomap.h
@@ -827,7 +827,11 @@
#define IO_NOR_SIZE (SZ_64M)
#else
#define IO_NOR_PHYS 0x48000000
+#if defined(CONFIG_MTD_NOR_TEGRA_GMI)
#define IO_NOR_SIZE (SZ_128M)
+#else
+#define IO_NOR_SIZE (SZ_64M)
+#endif
#endif
#else
#define IO_NOR_PHYS 0x0