[PATCH] bootflow: Fix build error when BOOTMETH_CROS is disabled

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


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

> 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 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/3b5420a3/attachment.sig>


More information about the U-Boot mailing list