ARM: tegra: Update address map of mselect
Ashwin Joshi [Wed, 23 Oct 2013 12:16:13 +0000 (17:16 +0530)]
Address for mselect has changed for t11x, t14x, t12x. So update this address
in the address map.

Bug 1352285

Change-Id: Ib45c91fd09c4bc8fad71911c943dd11ff750d7bc
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/302836
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

arch/arm/mach-tegra/iomap.h

index 0f63e62..da95c1a 100644 (file)
 #define TEGRA_ARM_PERIF_BASE           0x50040000
 #define TEGRA_ARM_PERIF_SIZE           SZ_8K
 
+#if defined(CONFIG_ARCH_TEGRA_2x_SOC) || defined(CONFIG_ARCH_TEGRA_3x_SOC)
+
 #define TEGRA_MSELECT_BASE             0x50042000
 #define TEGRA_MSELECT_SIZE             80
 
+#else
+
+#define TEGRA_MSELECT_BASE             0x50060000
+#define TEGRA_MSELECT_SIZE             SZ_4K
+
+#endif
+
 #if defined(CONFIG_ARCH_TEGRA_2x_SOC) || defined(CONFIG_ARCH_TEGRA_3x_SOC)
 
 #define TEGRA_ARM_PL310_BASE           0x50043000