msm: calculate where the movable zone should be on 8960

For DMM to work properly, the memory which we intend
to power off must be placed in the "movable zone"
so that all pages in this memory may be migrated out.

Calculate the start and size of the movable zone -- for
the initial 8960 configuration this coincides with
the maximum size of unstable memory, in future
configurations this might be smaller (so that there
is enough memory in the "normal" zone where unmovable
pages will be placed).

This must be done very early, as the result is
used in sanity_check_meminfo().

Change-Id: I71886cf857cb39a1bd483bd8bc46db61d22b3236
Signed-off-by: Larry Bassel <lbassel@codeaurora.org>
1 file changed