[Concept,1/7] luks: Correct condition for calling handle_encrypted()

Message ID 20251208124001.775057-2-sjg@u-boot.org
State New
Headers
Series luks: Complete TKey implementation |

Commit Message

Simon Glass Dec. 8, 2025, 12:39 p.m. UTC
  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(-)
  

Patch

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)