]> git.dujemihanovic.xyz Git - u-boot.git/commit
xilinx: zynqmp: Fix SPL_FS_LOAD_PAYLOAD_NAME usage
authorMichal Simek <michal.simek@amd.com>
Fri, 2 Dec 2022 13:06:15 +0000 (14:06 +0100)
committerMichal Simek <michal.simek@amd.com>
Mon, 5 Dec 2022 07:55:55 +0000 (08:55 +0100)
commitb40d154ced47d43005f683f7e089b9c016c8ea3d
treef95685b1a4d86e61f5638e8b2d941fcfb61b86fc
parent7d13f72d74c7ed7e60d8e603a52de34061ff3dd0
xilinx: zynqmp: Fix SPL_FS_LOAD_PAYLOAD_NAME usage

SPL_FS_LOAD_PAYLOAD_NAME depends on SPL to be enabled.
If SPL is not enabled code still expects SPL_FS_LOAD_PAYLOAD_NAME to be
present. That's why setup proper dependency in the code.
And by doing so also change the logic around dfu_alt_info string
composition to be simpler.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/3989c390a4acae13a1b05c040e14fb3d68bced02.1669986373.git.michal.simek@amd.com
board/xilinx/zynqmp/zynqmp.c