msm: memory: Use already defined MT_MEMORY_SO type

MT_MEMORY_SO is now defined in the kernel so replace the old
usage of the MT_DEVICE_STRONGLY_ORDERED type which is no
longer defined in the latest kernel revisions.

Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
(cherry picked from commit e4229bdeab0b842a43e7fcd0085ce123f6877d0f)

Change-Id: I85b2f82eb62d386c77f51f42e1577387bf99c325
Signed-off-by: Gopal Goberu <ggober@codeaurora.org>
msm: memory: Enable map_page_strongly_ordered API for 7627a

Enable map_page_strongly_ordered() API for 7627a, since it
is required for the memory barrier implementation, like 7627.
Use iotable_init API to initialize the strongly ordered page
mapping since create_mapping() used in the older implementation
is no longer available outside mm/mmu.c implementation.

Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
(cherry picked from commit 80c1936c0ac369fc49bfba6ab132fb395759bd3a)

Change-Id: I43e28da51805d63391b4b54d7b315f81aa1834ba
Signed-off-by: Gopal Goberu <ggober@codeaurora.org>
msm: 8974: Add function to reserve memory from device tree

Memory reservations for memory pools or using memblock remove
must happen early at bootup. Add a function at early boot to
walk the flattened device tree and extract memory reservation
information from appropriate bindings in device tree. To ensure
that the memory is only reserved when a driver is enabled,
drivers must put EXPORT_COMPAT(<compat string>) in the driver
as well as adding the binding to the device tree. More
documentation is available in
Documentation/devicetree/bindings/arm/msm/memory-reserve.txt

Change-Id: I28fa71d7a30cea9af5447acb5d2dde562fa0f6de
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>