]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: BOOTDEV_SPI_FLASH requires BOOTSTD
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 28 Aug 2023 18:49:59 +0000 (20:49 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 1 Nov 2023 16:26:44 +0000 (12:26 -0400)
commit073bf4a57d890876851640fc09d8f83fa3b69ebc
treee4da43df3d47307662c4108e9d5678b78e0001bb
parenta803f87202aa48974bdff4d8100464a8288931e4
bootstd: BOOTDEV_SPI_FLASH requires BOOTSTD

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@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mtd/spi/Kconfig