platform: msmtitanium: Use a dynamic variable for DDR_START
Use a dynamic variable for DDR_START
Change-Id: I4f0deb625b23ae1f4fe96508d7108a3e89ceb49d
diff --git a/platform/msmtitanium/include/platform/iomap.h b/platform/msmtitanium/include/platform/iomap.h
old mode 100755
new mode 100644
index 64779cb..3b5d8c1
--- a/platform/msmtitanium/include/platform/iomap.h
+++ b/platform/msmtitanium/include/platform/iomap.h
@@ -211,7 +211,7 @@
#define TCSR_TZ_WONCE 0x193D000
#define TCSR_BOOT_MISC_DETECT 0x193D100
-#define DDR_START 0x80000000
+#define DDR_START get_ddr_start()
#define ABOOT_FORCE_KERNEL_ADDR DDR_START + 0x8000
#define ABOOT_FORCE_KERNEL64_ADDR DDR_START + 0x80000
#define ABOOT_FORCE_RAMDISK_ADDR DDR_START + 0x2000000
diff --git a/platform/msmtitanium/platform.c b/platform/msmtitanium/platform.c
old mode 100755
new mode 100644
index 83d0b3b..32f51f5
--- a/platform/msmtitanium/platform.c
+++ b/platform/msmtitanium/platform.c
@@ -110,7 +110,7 @@
uint32_t i;
uint32_t sections;
uint32_t table_size = ARRAY_SIZE(mmu_section_table);
- uint32_t ddr_start = get_ddr_start();
+ uint32_t ddr_start = DDR_START;
uint32_t smem_addr = platform_get_smem_base_addr();
/*Mapping the ddr start address for loading the kernel about 90 MB*/