]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: fix build error when CONFIG_MMC is disabled
authorDan Carpenter <dan.carpenter@linaro.org>
Wed, 21 Feb 2024 06:26:21 +0000 (09:26 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 4 Mar 2024 15:25:47 +0000 (10:25 -0500)
commitc15d73d18925dc2dbb3082874b61b924bad9388c
tree37f721b84981348c78ee351a1dd89c6cca50adab
parent2160cb141fe9dc22d3efa5ea6aed90f30fa0ff84
bootstd: fix build error when CONFIG_MMC is disabled

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@linaro.org>
test/boot/bootstd_common.c