ARM: mxs: various bug fixes for power init code
authorLothar Waßmann <LW@KARO-electronics.de>
Fri, 21 Aug 2015 14:45:39 +0000 (16:45 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 21 Aug 2015 14:45:39 +0000 (16:45 +0200)
commita132f6b51e78e0a68a1ff6d6f5d572ba8f6bd5b7
treed041dc9f06f15dd7fe6382f7ea98f04db064ec56
parent30f8c211ce197c44bca1a98c7eea6f4462201468
ARM: mxs: various bug fixes for power init code

- use correct register for bo_irq in mxs_power_set_vddx()
- limit BO values to legal values in mxs_power_set_vddx()
- disable charger in mxs_is_batt_good() independent from the measured
  voltage
arch/arm/cpu/arm926ejs/mxs/spl_power_init.c