mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
arm64: zynqmp: Reorder parameters for zynqmp_mmio_write()
Parameter order is not correct based on zynqmp_mmio_write() declaration.
Fixes: be52372ff1
("arm64: zynqmp: Use zynqmp_mmio_read/write functions")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
73319eee87
commit
3d03752475
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue