xilinx: Fix logic when dfu_alt_info is generated
authorMichal Simek <michal.simek@amd.com>
Tue, 9 Aug 2022 14:32:52 +0000 (16:32 +0200)
committerMichal Simek <michal.simek@amd.com>
Tue, 13 Sep 2022 09:32:48 +0000 (11:32 +0200)
commitce183fd79ce5218a89dd5c73cd77bad6464ee5a2
treed4635c28668a0ffc75cf1f8248b71fee3d0e1543
parent79f0151389396f310bd6441d444e2c2a54b6039c
xilinx: Fix logic when dfu_alt_info is generated

Generate dfu_alt_info only when it is not defined.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/464e4b325c644e52a660df9cf44eeb4d80427f6a.1660055571.git.michal.simek@amd.com
board/xilinx/zynq/board.c
board/xilinx/zynqmp/zynqmp.c