target: FP2: Check pon hard reset bit as a part of charger mode check.

Adapted from commit 531e59a4 to target FP2 instead of msm8226.

There was a recent change in the kernel pmic driver after which adb reboot
now triggers a cold reboot. Hence our earlier check where we were relying on
the PMIC warmboot status register is not enough anymore. We need to check the
pon hard reset bit as well.

Issue: FP2N-231
Change-Id: I01a84e91c2b8c610dd7e2af564e0d1e69424fe67
(adapted from commit 531e59a44c52b92d557eaa51cb09fe49f09d1bca)
1 file changed