projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c02d84
)
arm64: zynqmp: Do not clear reset reason
author
Michal Simek
<michal.simek@xilinx.com>
Tue, 9 Feb 2021 07:50:22 +0000
(08:50 +0100)
committer
Michal Simek
<michal.simek@xilinx.com>
Tue, 23 Feb 2021 13:56:59 +0000
(14:56 +0100)
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>
board/xilinx/zynqmp/zynqmp.c
patch
|
blob
|
history
diff --git
a/board/xilinx/zynqmp/zynqmp.c
b/board/xilinx/zynqmp/zynqmp.c
index
a216eeb
..
6babc0e
100644
(file)
--- a/
board/xilinx/zynqmp/zynqmp.c
+++ b/
board/xilinx/zynqmp/zynqmp.c
@@
-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)