mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-14 20:09:24 +01:00
ipq6018: reset: fixing reset flow
Doing PMIC reset only when there is a abnormal reset/kernel panic and wonce register is set to cold reboot. Change-Id: I08db31e476788be30cb7ab139a2057a40d98cb89 Signed-off-by: Antony Arun T <antothom@codeaurora.org>
This commit is contained in:
parent
cc9f67f70f
commit
2d32b2d4e3
1 changed files with 7 additions and 5 deletions
|
|
@ -1135,6 +1135,13 @@ void qti_scm_pshold(void)
|
|||
}
|
||||
|
||||
void reset_cpu(unsigned long a)
|
||||
{
|
||||
reset_crashdump();
|
||||
psci_sys_reset();
|
||||
while(1);
|
||||
}
|
||||
|
||||
void reset_board(void)
|
||||
{
|
||||
reset_crashdump();
|
||||
if(*tz_wonce == 0) { /*COLD REBOOT*/
|
||||
|
|
@ -1147,11 +1154,6 @@ void reset_cpu(unsigned long a)
|
|||
while(1);
|
||||
}
|
||||
|
||||
void reset_board(void)
|
||||
{
|
||||
run_command("reset", 0);
|
||||
}
|
||||
|
||||
void ipq_fdt_fixup_socinfo(void *blob)
|
||||
{
|
||||
uint32_t cpu_type;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue