mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-16 04:01:31 +00:00
arm64: zynqmp: Do not clear reset reason
There is no need to clear reset reason register because it is protected by PMUFW already which is reported when verbose log is enabled as: pm_core.c@733 APU> No write permission to 0xFF5E0220 Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
8c02d842b6
commit
3aba25bc38
1 changed files with 1 additions and 5 deletions
|
@ -496,11 +496,7 @@ static int reset_reason(void)
|
|||
|
||||
env_set("reset_reason", reason);
|
||||
|
||||
ret = zynqmp_mmio_write((ulong)&crlapb_base->reset_reason, ~0, ~0);
|
||||
if (ret)
|
||||
return -EINVAL;
|
||||
|
||||
return ret;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int set_fdtfile(void)
|
||||
|
|
Loading…
Add table
Reference in a new issue