mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
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: 0c1f4a9fb1
("bootstd: Add a SPI flash bootdev")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
a803f87202
commit
073bf4a57d
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ if SPI_FLASH
|
|||
|
||||
config BOOTDEV_SPI_FLASH
|
||||
bool "SPI Flash bootdev support"
|
||||
depends on BOOTSTD
|
||||
help
|
||||
Enable a boot device for SPI flash. This allows reading a script
|
||||
from SPI flash so that it can be used to boot an Operating System.
|
||||
|
|
Loading…
Reference in a new issue