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
diff --git a/target/msm8996/init.c b/target/msm8996/init.c
index 05397c5..25c1b14 100644
--- a/target/msm8996/init.c
+++ b/target/msm8996/init.c
@@ -616,6 +616,12 @@
{
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;