From 0f7383ffe04d70b938893a06aa6f5295eab78acd Mon Sep 17 00:00:00 2001 From: "Chen, Gang G" Date: Thu, 22 Aug 2024 21:27:55 +0800 Subject: [PATCH] Make device as unlocked state by default on userdebug build for civ test done: boot Tracked-On: OAM-123665 Signed-off-by: Chen, Gang G --- kernelflinger.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernelflinger.c b/kernelflinger.c index fd70a6d7..53783846 100644 --- a/kernelflinger.c +++ b/kernelflinger.c @@ -1528,9 +1528,7 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table) #ifndef USER /* WA patch to set device as unlocked by default for userdebug build */ -#ifdef USE_SBL set_current_state(UNLOCKED); -#endif #else /* For civ, flash images to disk is not MUST. So set device to LOCKED * state by default on the first boot.