]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
xilinx: zynqmp: Do not guard SPL_FS_LOAD_PAYLOAD_NAME by SDHCI driver
authorMichal Simek <michal.simek@amd.com>
Tue, 10 May 2022 14:23:02 +0000 (16:23 +0200)
committerMichal Simek <michal.simek@amd.com>
Wed, 18 May 2022 11:17:18 +0000 (13:17 +0200)
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME is used by set_dfu_alt_info() for string
generation. It doesn't depend on SDHCI because the same file can be stored
to other non volatile memories like qspi.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/97434e122c6f8f042330b60d3e8de4c31f3e3f93.1652192580.git.michal.simek@amd.com
Link: https://lore.kernel.org/r/718de136c68c9a76fc7b4e536a727f401b05bfb9.1652702625.git.michal.simek@amd.com
include/configs/xilinx_zynqmp.h

index 8eb44b18d20c2c95be04ee848b70bbd3a96e0072..f25d796a1e723829005d04b2bc22b48e29dd70a1 100644 (file)
 #define CONFIG_SPL_FS_LOAD_KERNEL_NAME "atf-uboot.ub"
 
 /* MMC support */
-#ifdef CONFIG_MMC_SDHCI_ZYNQ
 # define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0 /* unused */
 # define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS        0 /* unused */
 # if defined(CONFIG_SPL_LOAD_FIT)
 # else
 #  define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME      "u-boot.img"
 # endif
-#endif
 
 #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_DFU)
 # define CONFIG_SPL_HASH