mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
fpga: zynqmp: Fix second local variable declaration
No reason to define new_buf again. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
d882f0847c
commit
23decf013b
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ static ulong zynqmp_align_dma_buffer(u32 *buf, u32 len, u32 swap)
|
||||||
} else if ((swap != SWAP_DONE) &&
|
} else if ((swap != SWAP_DONE) &&
|
||||||
(zynqmp_pmufw_version() <= PMUFW_V1_0)) {
|
(zynqmp_pmufw_version() <= PMUFW_V1_0)) {
|
||||||
/* For bitstream which are aligned */
|
/* For bitstream which are aligned */
|
||||||
u32 *new_buf = (u32 *)buf;
|
new_buf = buf;
|
||||||
|
|
||||||
printf("%s: Bitstream is not swapped(%d) - swap it\n", __func__,
|
printf("%s: Bitstream is not swapped(%d) - swap it\n", __func__,
|
||||||
swap);
|
swap);
|
||||||
|
|
Loading…
Reference in a new issue