ipq807x: Reset support for 32 bit TZ

Change-Id: I16bd7fe2541a9093a4a6417091a854e6dfea92e3
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
This commit is contained in:
Gokul Sriram Palanisamy 2017-10-11 18:03:56 +05:30
parent 527c7c22d6
commit 0017eddff3

View file

@ -200,7 +200,11 @@ void psci_sys_reset(void)
void reset_cpu(unsigned long a)
{
reset_crashdump();
psci_sys_reset();
if (is_scm_armv8()) {
psci_sys_reset();
} else {
writel(0, GCNT_PSHOLD);
}
while(1);
}