[msm7630] Add support to detect physical memory usable by apps proc

Modem bootloader places information about physical memory regions
that are usable by apps in shared memory.  This information is available
in shared memory before apps processor is brought out of reset.

Add support to read this "ram partition table" and check for physical
memory chunks that are set as read/write for apps processor, exclude the
apps bootloader area and give the rest to Linux kernel using atags.

As a result, if modem physical memory requirement reduces, then apps
bootloader does not have to change.  Apps can pick up the extra memory
made available by detecting this from ram partition table.

Change-Id: I6abd85cd57710ceda89d4f125e3dffc59e7078b7
4 files changed