commit | f0d6f464d734f5d459d5efc01fa189ed0777e90f | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@amd.com> | Tue Aug 09 16:32:52 2022 +0200 |
committer | Michal Simek <michal.simek@amd.com> | Tue Sep 13 11:32:48 2022 +0200 |
tree | d4635c28668a0ffc75cf1f8248b71fee3d0e1543 | |
parent | fccd23424f2ea0336ad8e265d8524ea9e964e1ff [diff] [blame] |
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
diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c index 63aff04..26ef048 100644 --- a/board/xilinx/zynq/board.c +++ b/board/xilinx/zynq/board.c
@@ -168,8 +168,7 @@ { ALLOC_CACHE_ALIGN_BUFFER(char, buf, DFU_ALT_BUF_LEN); - if (!CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT) && - env_get("dfu_alt_info")) + if (env_get("dfu_alt_info")) return; memset(buf, 0, sizeof(buf));