Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
project: enable battery voltage checking
Browse files Browse the repository at this point in the history
Enable battery voltage checking before flashing or erasing
image.

Change-Id: Ie95f3b88d20b19cea711f9cef980590ceed0ff89
  • Loading branch information
lijuang authored and vijay kumar committed Nov 5, 2015
1 parent 2b82355 commit 4175935
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions project/msm8909.mk
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,6 @@ DEFINES += PLATFORM_USE_SCM_DLOAD=1

#Enable the external reboot functions
ENABLE_REBOOT_MODULE := 1

#enable battery voltage check
DEFINES += CHECK_BAT_VOLTAGE=1
3 changes: 3 additions & 0 deletions project/msm8916.mk
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@ DEFINES += PLATFORM_USE_SCM_DLOAD=1

#Enable the external reboot functions
ENABLE_REBOOT_MODULE := 1

#enable battery voltage check
DEFINES += CHECK_BAT_VOLTAGE=1
3 changes: 3 additions & 0 deletions project/msm8952.mk
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,6 @@ DEFINES += PLATFORM_USE_SCM_DLOAD=1
CFLAGS += -Werror

DEFINES += USE_TARGET_HS200_DELAY=1

#enable battery voltage check
DEFINES += CHECK_BAT_VOLTAGE=1
3 changes: 3 additions & 0 deletions project/msm8994.mk
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,6 @@ endif

# Turn on Werror
CFLAGS += -Werror

#enable battery voltage check
DEFINES += CHECK_BAT_VOLTAGE=1
3 changes: 3 additions & 0 deletions project/msm8996.mk
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,6 @@ CFLAGS += -Werror

#SCM call before entering DLOAD mode
DEFINES += PLATFORM_USE_SCM_DLOAD=1

#enable battery voltage check
DEFINES += CHECK_BAT_VOLTAGE=1

0 comments on commit 4175935

Please sign in to comment.