mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-27 08:41:35 +02:00
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>
This commit is contained in:
parent
73319eee87
commit
3d03752475
@ -515,7 +515,7 @@ static int reset_reason(void)
|
|||||||
|
|
||||||
env_set("reset_reason", reason);
|
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)
|
if (ret)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user