diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-03-23 14:02:01 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-04-06 12:52:45 +0200 |
commit | 3d037524756ef2dce6a072975d6a73a5a89d414c (patch) | |
tree | 7f18bd5097f3b641ae923e25bae02c5808ee859f /board/xilinx | |
parent | 73319eee878c3321a90ae0cc8e0ca8e6ebf0f1fd (diff) |
arm64: zynqmp: Reorder parameters for zynqmp_mmio_write()
Parameter order is not correct based on zynqmp_mmio_write() declaration.
Fixes: be52372ff1bb ("arm64: zynqmp: Use zynqmp_mmio_read/write functions")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board/xilinx')
-rw-r--r-- | board/xilinx/zynqmp/zynqmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index eb1bc0861e..3c92b1a582 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -515,7 +515,7 @@ static int reset_reason(void) env_set("reset_reason", reason); - ret = zynqmp_mmio_write(~0, ~0, (ulong)&crlapb_base->reset_reason); + ret = zynqmp_mmio_write((ulong)&crlapb_base->reset_reason, ~0, ~0); if (ret) return -EINVAL; |