]> git.dujemihanovic.xyz Git - u-boot.git/commit
dfu: add missing dependency for SPI flash DFU driver
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 4 Jun 2024 05:44:25 +0000 (07:44 +0200)
committerMattijs Korpershoek <mkorpershoek@baylibre.com>
Thu, 6 Jun 2024 07:11:21 +0000 (09:11 +0200)
commit4339138a2086f8449b9356130cb6e97a81aa8679
treeff4d9ac1617306fb075751f039d82a990143d947
parent85ced6f4745f529098cae38a5bd3144035a1318c
dfu: add missing dependency for SPI flash DFU driver

Building the SPI flash DFU driver fails if SPI flash support is missing.

    drivers/dfu/dfu_sf.c:123:29: error:
    ‘CONFIG_SF_DEFAULT_MODE’ undeclared (first use in this function);

Add the missing dependency.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Link: https://lore.kernel.org/r/20240604054425.105902-1-heinrich.schuchardt@canonical.com
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
drivers/dfu/Kconfig