Skip to content

Commit

Permalink
disable shutdown_detect for fix boot from battery
Browse files Browse the repository at this point in the history
lk2nd cannot handle power on reason when device booting without power
cable. This commit disable shutdown_detect for disable check if power
button was pressed. Power on reason should handled by lk.
  • Loading branch information
barni2000 authored and alikates committed Aug 26, 2023
1 parent 54174be commit 6679e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/msm8953.mk
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1
DEFINES += BAM_V170=1

#Enable the feature of long press power on
DEFINES += LONG_PRESS_POWER_ON=1
# DEFINES += LONG_PRESS_POWER_ON=1

ifeq ($(ENABLE_RPMB_SUPPORT),1)
DEFINES += USE_RPMB_FOR_DEVINFO=1
Expand Down

0 comments on commit 6679e09

Please sign in to comment.