[PATCH] bootstd: fix build error when CONFIG_MMC is disabled

Tom Rini trini at konsulko.com
Mon Mar 4 16:27:43 CET 2024


On Wed, Feb 21, 2024 at 09:26:21AM +0300, Dan Carpenter wrote:

> This code assumes that CONFIG_MMC and it causes a build error when
> the config is disabled.
> 
> aarch64-linux-gnu-ld.bfd: test/boot/bootstd_common.o: in function `bootstd_test_check_mmc_hunter':
> test/boot/bootstd_common.c:83:(.text.bootstd_test_check_mmc_hunter+0x70):
>     undefined reference to `_u_boot_list_2_bootdev_hunter_2_mmc_bootdev_hunter'
> 
> Fixes: 66e3dce78750 ("bootstd: Allow hunting for a bootdev by label")
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240304/4debd5ee/attachment.sig>


More information about the U-Boot mailing list