[PATCH 1/1] bootstd: BOOTDEV_SPI_FLASH requires BOOTSTD

Simon Glass sjg at chromium.org
Tue Aug 29 00:09:26 CEST 2023


On Mon, 28 Aug 2023 at 12:49, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> Compiling sandbox_defconfig with CONFIG_BOOTSTD=n fails:
>
>     /usr/bin/ld: drivers/mtd/spi/sf_bootdev.o:
>     in function `sf_get_bootflow':
>     /drivers/mtd/spi/sf_bootdev.c:43:(.text+0x96):
>     undefined reference to `bootmeth_set_bootflow'
>
> Add the missing Kconfig dependency.
>
> Fixes: Fixes: 0c1f4a9fb13a ("bootstd: Add a SPI flash bootdev")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  drivers/mtd/spi/Kconfig | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list