diff options
author | Prasad Sodagudi <psodagud@codeaurora.org> | 2016-05-03 23:18:14 +0530 |
---|---|---|
committer | Prasad Sodagudi <psodagud@codeaurora.org> | 2016-05-05 10:31:01 +0530 |
commit | 09d736578b5c05da2148012cbd29ee58b0889a97 (patch) | |
tree | 272a140f99c6cda24ed33ffcc581140ef1f0010e | |
parent | 689e0e1f51b3dcea770408c180246799ec6948c6 (diff) |
target: project: msm8996: Update target specific command line
Update the target specific command line to disable
apps_settings work around for msm8996. This work around
is not required for all SoCs, so update the command line
based on HW version.
Change-Id: I3bb95241e81c9a11b3c00692feff8349f772b888
-rw-r--r-- | target/msm8996/init.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/msm8996/init.c b/target/msm8996/init.c index f0a8dd3a..9ad46293 100644 --- a/target/msm8996/init.c +++ b/target/msm8996/init.c @@ -617,6 +617,12 @@ int target_update_cmdline(char *cmdline) { strlcpy(cmdline, " fpsimd.fpsimd_settings=0", TARGET_MAX_CMDLNBUF); len = strlen (cmdline); + + /* App settings are not required for other than v1.0 SoC */ + if (board_soc_version() > 0x10000) { + strlcpy(cmdline + len, " app_setting.use_app_setting=0", TARGET_MAX_CMDLNBUF - len); + len = strlen (cmdline); + } } return len; |