angler: remove 'reboot edl' interface for security
Removed edl interface for security reasons. BUG: 63100473 Change-Id: I9bdcb6b9794e2bc59c6557b6160cf964cc61265c Git-commit: 6bf0876eb2a65282d796620ef2c640a86a61df82 Git-repo: https://android.googlesource.com/kernel/common.git Signed-off-by: Kishor PK <kpbhat@codeaurora.org>
This commit is contained in:
parent
4a701fd0f5
commit
f27273f9e1
|
@ -123,6 +123,7 @@ static bool get_dload_mode(void)
|
|||
return dload_mode_enabled;
|
||||
}
|
||||
|
||||
#if 0
|
||||
static void enable_emergency_dload_mode(void)
|
||||
{
|
||||
int ret;
|
||||
|
@ -147,6 +148,7 @@ static void enable_emergency_dload_mode(void)
|
|||
if (ret)
|
||||
pr_err("Failed to set secure EDLOAD mode: %d\n", ret);
|
||||
}
|
||||
#endif
|
||||
|
||||
static int dload_set(const char *val, struct kernel_param *kp)
|
||||
{
|
||||
|
@ -278,8 +280,10 @@ static void msm_restart_prepare(const char *cmd)
|
|||
if (!ret)
|
||||
__raw_writel(0x6f656d00 | (code & 0xff),
|
||||
restart_reason);
|
||||
#if 0
|
||||
} else if (!strncmp(cmd, "edl", 3)) {
|
||||
enable_emergency_dload_mode();
|
||||
#endif
|
||||
} else {
|
||||
__raw_writel(0x77665501, restart_reason);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue