target: FP2: Enable charger mode check.

Adapted from commit 06041310 to target FP2 instead of msm8226.

We now 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.

Issue: FP2N-231
Change-Id: I6081207ad0760ada770eae30419acb679df570b6
(adapted from commit 0604131048febb2989b6351b65e99f49e967821a)
1 file changed