summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/include/mach/iomap.h
diff options
context:
space:
mode:
authorManoj Chourasia <mchourasia@nvidia.com>2011-10-19 23:25:32 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2012-03-22 23:49:06 -0700
commit67fc6e75e5c9f0278e53b3649b54ceac045728ce (patch)
treec4c561320758fa1a772e8daa740efe42bc12d66d /arch/arm/mach-tegra/include/mach/iomap.h
parent8eb16bb030774161759f9852b5e78576d9eb3efa (diff)
tegra: NOR: Add NOR platform device
Added NOR platform device for Tegra. Reviewed-on: http://git-master/r/56895 (cherry picked from commit 6b93835cef6321f286b8efcd032a1a1cc7a6ae9d) Change-Id: Ie0219f1b7534f140a1da924f4f97a52f50d59ad2 Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com> Reviewed-on: http://git-master/r/66705 Tested-by: Gerrit_Virtual_Submit Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Rebase-Id: R8ca0f2697a54ee48996c57af936bcc69c942db46
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/iomap.h')
-rw-r--r--arch/arm/mach-tegra/include/mach/iomap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/iomap.h b/arch/arm/mach-tegra/include/mach/iomap.h
index 8099f011d05e..4c42d86d243e 100644
--- a/arch/arm/mach-tegra/include/mach/iomap.h
+++ b/arch/arm/mach-tegra/include/mach/iomap.h
@@ -27,6 +27,14 @@
#include <asm/sizes.h>
#if defined(CONFIG_ARCH_TEGRA_2x_SOC)
+#define TEGRA_NOR_FLASH_BASE 0xD0000000
+#define TEGRA_NOR_FLASH_SIZE SZ_256M
+#else
+#define TEGRA_NOR_FLASH_BASE 0x48000000
+#define TEGRA_NOR_FLASH_SIZE SZ_128M
+#endif
+
+#if defined(CONFIG_ARCH_TEGRA_2x_SOC)
#define TEGRA_DRAM_BASE 0x00000000
#define TEGRA_DRAM_SIZE SZ_1G /* Maximum size */
#else