Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02f8ea97 authored by Maulik Shah's avatar Maulik Shah Committed by Gerrit - the friendly Code Review server
Browse files

msm: pm-boot: Change WARN to pr_warn to avoid stack dump



Only non-psci based targets need to set warmboot address from pm-boot.
Change WARN to pr_warn as former prints stack and register dump in logs
which is not necessary.

Change-Id: Ifcebdc405155d402e1e2e9fdd514a02a3760476f
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent ef3068bf
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
/* Copyright (c) 2011-2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2011-2014, 2016, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -42,7 +42,8 @@ static int msm_pm_tz_boot_init(void)
			flag = SCM_FLAG_WARMBOOT_CPU0 | SCM_FLAG_WARMBOOT_CPU1 |
				SCM_FLAG_WARMBOOT_CPU2 | SCM_FLAG_WARMBOOT_CPU3;
		else
			__WARN();
			pr_warn("%s: set warmboot address failed\n",
								__func__);

		return scm_set_boot_addr(virt_to_phys(msm_pm_boot_entry), flag);
	}