msm: memory: Calculate DDR size early at boot time

Calculate the DDR size available to APPS which can be
used during early boot up time such as reservation
size based on the available RAM.

Change-Id: Ib765913ed95f8c23e4db3c044e5a43bcc10b7c1c
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
diff --git a/arch/arm/mach-msm/include/mach/memory.h b/arch/arm/mach-msm/include/mach/memory.h
index 6b7ad9a..acfbe4a 100644
--- a/arch/arm/mach-msm/include/mach/memory.h
+++ b/arch/arm/mach-msm/include/mach/memory.h
@@ -79,6 +79,7 @@
 int platform_physical_active_pages(u64, u64);
 int platform_physical_low_power_pages(u64, u64);
 int msm_get_memory_type_from_name(const char *memtype_name);
+unsigned long get_ddr_size(void);
 
 extern int (*change_memory_power)(u64, u64, int);