u-boot/drivers/dfu
Ashok Reddy Soma d05e377495 dfu: Add proper dependency for CONFIG_DFU_MMC
When CONFIG_CMD_MMC and CONFIG_MMC are disabled, still some compilation
errors are seen as below due to unresolved symbols.

drivers/dfu/dfu_mmc.o: in function `mmc_block_op':
drivers/dfu/dfu_mmc.c:32: undefined reference to `find_mmc_device'
drivers/dfu/dfu_mmc.c:54: undefined reference to `mmc_get_blk_desc'
drivers/dfu/dfu_mmc.c:67: undefined reference to `mmc_get_blk_desc'
drivers/dfu/dfu_mmc.c:70: undefined reference to `mmc_get_blk_desc'
drivers/dfu/dfu_mmc.o: in function `dfu_fill_entity_mmc':
drivers/dfu/dfu_mmc.c:369: undefined reference to `find_mmc_device'
drivers/dfu/dfu_mmc.c:376: undefined reference to `mmc_init'
drivers/dfu/dfu_mmc.c:403: undefined reference to `mmc_get_blk_desc'
gnu/aarch64/lin/aarch64-linux/bin/aarch64-linux-gnu-ld.bfd: line 4:
31661 Segmentation fault      (core dumped) $CC --sysroot=$LIBC
--no-warn-rwx-segment "$@"
Makefile:1760: recipe for target 'u-boot' failed
make: *** [u-boot] Error 139
make: *** Deleting file 'u-boot'

Add dependency of CONFIG_MMC for CONFIG_DFU_MMC config to fix the errors.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
2023-07-17 15:38:11 -04:00
..
dfu.c common: dfu: Remove leading space characters 2023-05-31 17:23:01 -04:00
dfu_alt.c dfu: add dfu_write_by_alt() 2020-10-30 14:20:27 +01:00
dfu_mmc.c blk: Switch over to using uclass IDs 2022-09-16 11:05:16 -04:00
dfu_mtd.c dfu: mtd: remove direct call of mtdparts_init function 2023-06-16 11:01:16 +02:00
dfu_nand.c DFU: Check the number of arguments and argument string strictly 2022-02-11 11:29:23 -05:00
dfu_ram.c DFU: Check the number of arguments and argument string strictly 2022-02-11 11:29:23 -05:00
dfu_sf.c Audit <flash.h> inclusion 2022-08-04 16:18:47 -04:00
dfu_virt.c DFU: Check the number of arguments and argument string strictly 2022-02-11 11:29:23 -05:00
Kconfig dfu: Add proper dependency for CONFIG_DFU_MMC 2023-07-17 15:38:11 -04:00
Makefile dfu: rename dfu_tftp_write() to dfu_write_by_name() 2020-10-30 14:20:27 +01:00