summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm
diff options
context:
space:
mode:
authorDaniel Walker <dwalker@codeaurora.org>2010-05-06 14:16:04 -0700
committerDaniel Walker <dwalker@codeaurora.org>2010-05-13 16:08:37 -0700
commit81d658ac64000758c198c6b31fed505ec284e165 (patch)
tree02ce1bef796e47ff284a1c2c124293cc1ccd0f61 /arch/arm/mach-msm
parentcf62ffae2550102557c0848ab63a771e032fcfd3 (diff)
downloadop-kernel-dev-81d658ac64000758c198c6b31fed505ec284e165.zip
op-kernel-dev-81d658ac64000758c198c6b31fed505ec284e165.tar.gz
msm: physical offset for QSD8x50
Support different RAM base addresses used by Qualcomm SOCs, with QSD8x50 as the first addtional one. Signed-off-by: Daniel Walker <dwalker@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org> Signed-off-by: Gregory Bean <gbean@codeaurora.org> Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org> Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm')
-rw-r--r--arch/arm/mach-msm/include/mach/memory.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/include/mach/memory.h b/arch/arm/mach-msm/include/mach/memory.h
index f4698ba..cfee996 100644
--- a/arch/arm/mach-msm/include/mach/memory.h
+++ b/arch/arm/mach-msm/include/mach/memory.h
@@ -17,7 +17,13 @@
#define __ASM_ARCH_MEMORY_H
/* physical offset of RAM */
+#if defined(CONFIG_ARCH_QSD8X50) && defined(CONFIG_MSM_SOC_REV_A)
+#define PHYS_OFFSET UL(0x00000000)
+#elif defined(CONFIG_ARCH_QSD8X50)
+#define PHYS_OFFSET UL(0x20000000)
+#else
#define PHYS_OFFSET UL(0x10000000)
+#endif
#endif
OpenPOWER on IntegriCloud