target: msm8610: Enable charger mode check
target: msm8610: Enable charger mode check

Check the boot reason at every boot to determine if we need
to boot into charger mode and also factor in the boot type
(cold or warm) when making the decision.

CRs-Fixed: 505050
Change-Id: I1932ed01ad3da024cde5187a686af887f073dbf9

t2m-foxfone/android_kernel_lk,Redmi-dev/android_bootable_lk,t2m-foxfone/kernel_lk,idor/dk50-bootable_bootloader_lk,idor/dk50-bootable_bootloader_lk,mozilla-b2g/kernel_lk,t2m-foxfone/kernel_lk,idor/dk50-bootable_bootloader_lk,Foxda-Tech/argo8-bootable-bootloader-lk,jsr-d10/android_bootable_bootloader_lk,mozilla-b2g/kernel_lk,Redmi-dev/android_bootable_lk,CanarySolutions/little-kernel,t2m-foxfone/android_kernel_lk,t2m-foxfone/kernel_lk,M1cha/android_bootable_bootloader_lk,M1cha/android_bootable_bootloader_lk,detule/lk-g2-spr,M1cha/android_bootable_bootloader_lk,CanarySolutions/little-kernel,Foxda-Tech/polaris-bootable-bootloader-lk,t2m-foxfone/kernel_lk,M1cha/lktris,idor/dk50-bootable_bootloader_lk,Foxda-Tech/argo8-bootable-bootloader-lk,lg-devs/g2-bootloader,jsr-d10/android_bootable_bootloader_lk,jbott/lk_gee,jbott/lk_gee,Foxda-Tech/polaris-bootable-bootloader-lk,mozilla-b2g/fairphone2_kernel_lk,CanarySolutions/little-kernel,mozilla-b2g/fairphone2_kernel_lk,efidroid/lk,jsr-d10/android_bootable_bootloader_lk,t2m-foxfone/android_kernel_lk,lg-devs/g2-bootloader,Foxda-Tech/argo8-bootable-bootloader-lk,Redmi-dev/android_bootable_lk,Foxda-Tech/argo8-bootable-bootloader-lk,Foxda-Tech/polaris-bootable-bootloader-lk,CanarySolutions/little-kernel,jsr-d10/android_bootable_bootloader_lk,lg-devs/g2-bootloader,mozilla-b2g/fairphone2_kernel_lk,t2m-foxfone/android_kernel_lk,Redmi-dev/android_bootable_lk,efidroid/lk,mozilla-b2g/kernel_lk,CanarySolutions/little-kernel,M1cha/lktris,Redmi-dev/android_bootable_lk,efidroid/lk,M1cha/lktris,jbott/lk_gee,mozilla-b2g/kernel_lk,t2m-foxfone/kernel_lk,detule/lk-g2-spr,Foxda-Tech/polaris-bootable-bootloader-lk,M1cha/android_bootable_bootloader_lk,M1cha/android_bootable_bootloader_lk,Foxda-Tech/argo8-bootable-bootloader-lk,efidroid/lk,lg-devs/g2-bootloader,M1cha/lktris,detule/lk-g2-spr,mozilla-b2g/fairphone2_kernel_lk,mozilla-b2g/kernel_lk,idor/dk50-bootable_bootloader_lk,detule/lk-g2-spr,lg-devs/g2-bootloader,mozilla-b2g/fairphone2_kernel_lk,M1cha/lktris,efidroid/lk,jbott/lk_gee,Foxda-Tech/polaris-bootable-bootloader-lk,jsr-d10/android_bootable_bootloader_lk,t2m-foxfone/android_kernel_lk,detule/lk-g2-spr,jbott/lk_gee,M1cha/android_bootable_bootloader_lk