From: Simon Glass <simon.glass@canonical.com> Use CONFIG_BLK_LUKS instead of CONFIG_LUKS, which does not exist. This allows the test to pass. Signed-off-by: Simon Glass <simon.glass@canonical.com> --- boot/bootctl/logic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/bootctl/logic.c b/boot/bootctl/logic.c index 2ed106628e7..471e38e238c 100644 --- a/boot/bootctl/logic.c +++ b/boot/bootctl/logic.c @@ -903,7 +903,7 @@ static int logic_poll(struct udevice *dev) return log_msg_ret("gos", -ENOENT); /* If encrypted, handle pass entry and unlock */ - if (IS_ENABLED(CONFIG_LUKS) && + if (IS_ENABLED(CONFIG_BLK_LUKS) && (os->bflow.flags & BOOTFLOWF_ENCRYPTED)) { ret = handle_encrypted(dev, os, seq); if (ret) -- 2.43.0