The implementation of this option in lib/fwu_updates/fwu_gpt.c is wholly
dependent on DFU, so make that a requirement here.

Signed-off-by: Tom Rini <tr...@konsulko.com>
---
I'm honestly not sure how to best proceed here as
drivers/fwu-mdata/gpt_blk.c doesn't need DFU, but both files are
controlled by this single symbol.

Cc: Masami Hiramatsu <masami.hirama...@linaro.org>
Cc: Jassi Brar <jaswinder.si...@linaro.org>
Cc: Sughosh Ganu <sughosh.g...@linaro.org>
Cc: Ilias Apalodimas <ilias.apalodi...@linaro.org>
Cc: Heinrich Schuchardt <xypron.g...@gmx.de>
---
 drivers/fwu-mdata/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/fwu-mdata/Kconfig b/drivers/fwu-mdata/Kconfig
index 42736a5e43b0..0bd5fef4abfa 100644
--- a/drivers/fwu-mdata/Kconfig
+++ b/drivers/fwu-mdata/Kconfig
@@ -15,7 +15,7 @@ config FWU_MDATA_GPT_BLK
        bool "FWU Metadata access for GPT partitioned Block devices"
        select PARTITION_TYPE_GUID
        select PARTITION_UUIDS
-       depends on FWU_MDATA && BLK && EFI_PARTITION
+       depends on FWU_MDATA && BLK && EFI_PARTITION && DFU
        help
          Enable support for accessing FWU Metadata on GPT partitioned
          block devices.
-- 
2.34.1

Reply via email to