Skip to content
Snippets Groups Projects
Commit 9eb94b79 authored by lijuang's avatar lijuang
Browse files

platform: msm8952: Add TZ addr and size support for QM215

Memory map have been updated for QM215, so add new TZ addr and size
for QM215.

Change-Id: I86af8e11e42763d6f36f835ccd7fc50105139ae3
parent 9a327a6f
No related branches found
No related tags found
No related merge requests found
......@@ -197,6 +197,8 @@
#define APP_REGION_SIZE_8952 0x500000
#define APP_REGION_ADDR_8937 0x85B00000
#define APP_REGION_SIZE_8937 0x800000
#define APP_REGION_ADDR_215 0x86000000
#define APP_REGION_SIZE_215 0x300000
/* MDSS */
#define MIPI_DSI_BASE (0x1A98000)
......
......@@ -371,9 +371,10 @@ int platform_is_msm8956()
uint32_t platform_get_tz_app_add()
{
if(platform_is_msm8937() || platform_is_msm8917() ||
platform_is_sdm429() || platform_is_sdm429w() || platform_is_sda429w() || platform_is_sdm439() ||
platform_is_qm215())
platform_is_sdm429() || platform_is_sdm429w() || platform_is_sda429w() || platform_is_sdm439())
return APP_REGION_ADDR_8937;
else if(platform_is_qm215())
return APP_REGION_ADDR_215;
else
return APP_REGION_ADDR_8952;
}
......@@ -381,9 +382,10 @@ uint32_t platform_get_tz_app_add()
uint32_t platform_get_tz_app_size()
{
if(platform_is_msm8937() || platform_is_msm8917() ||
platform_is_sdm429() || platform_is_sdm429w() || platform_is_sda429w() || platform_is_sdm439() ||
platform_is_qm215())
platform_is_sdm429() || platform_is_sdm429w() || platform_is_sda429w() || platform_is_sdm439())
return APP_REGION_SIZE_8937;
else if(platform_is_qm215())
return APP_REGION_SIZE_215;
else
return APP_REGION_SIZE_8952;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment