Skip to contentSkip to conversation

msm: physical offset for QSD8x50

PATCH New Daniel Walker 1 participant 1 message May 12, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 14/25 msm: physical offset for QSD8x50

Support different RAM base addresses used by Qualcomm SOCs, with QSD8x50 as the first addtional one.

---
 arch/arm/mach-msm/include/mach/memory.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
arch/arm/mach-msm/include/mach/memory.h +6 -0
index f4698ba..cfee996 100644
@@ -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
 
Signature · 1 line
1.6.2.3