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

The bootflow testing assumes that BOOTMETH_CROS is enabled but it
might not be which leads to a build error.

aarch64-linux-gnu-ld.bfd: test/boot/bootflow.o: in function `prep_mmc_bootdev':
test/boot/bootflow.c:549:(.text.prep_mmc_bootdev+0x1c8):
    undefined reference to `_u_boot_list_2_driver_2_bootmeth_cros'

Fixes: d08db02d2d3d ("bootstd: Add a test for bootmeth_cros")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
test/boot/bootflow.c