aboutsummaryrefslogtreecommitdiff
path: root/board/xilinx/zynqmp/zynqmp.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2021-02-09 08:50:22 +0100
committerMichal Simek <michal.simek@xilinx.com>2021-02-23 14:56:59 +0100
commit3aba25bc382beeb8a92b46d23fd1db47dfcb1121 (patch)
treefc6d8120c1ab60cba6b3e7762e20cc08a6b921a5 /board/xilinx/zynqmp/zynqmp.c
parent8c02d842b61ebd579e42ff3f0326457e7d10ec95 (diff)
downloadu-boot-3aba25bc382beeb8a92b46d23fd1db47dfcb1121.zip
u-boot-3aba25bc382beeb8a92b46d23fd1db47dfcb1121.tar.gz
u-boot-3aba25bc382beeb8a92b46d23fd1db47dfcb1121.tar.bz2
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>
Diffstat (limited to 'board/xilinx/zynqmp/zynqmp.c')
-rw-r--r--board/xilinx/zynqmp/zynqmp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c
index a216eeb..6babc0eb 100644
--- 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)