U-Boot GTA02: Always enable charger on startup
commit4ed6f14590c443f20c12b2f39ec0c14f0c41c0f8
authorRask Ingemann Lambertsen <ccc94453@vip.cybercity.dk>
Tue, 25 Aug 2009 09:52:56 +0000 (25 11:52 +0200)
committerPaul Fertser <fercerpav@gmail.com>
Wed, 9 Sep 2009 06:51:54 +0000 (9 10:51 +0400)
treeb192cc12a62a2501e50bf64cefe18499d9982ddc
parent57f7a4288aaa08d2dc480a923372e7a7781ce882
U-Boot GTA02: Always enable charger on startup

This patch changes U-Boot to always enable the charger on startup. We
currently seem to have two ways of disabling the charger, _even when it
was already enabled_:
1) Press power button briefly (<1 s) while off and connected to power.
2) Try to turn on the device (by power button or plugging in power) when the
   power source detected as 100 mA only with no (or discharged) battery
   inserted.

   There is no point in disabling the charger in these cases or in general.

Signed-off-by: Rask Ingemann Lambertsen <ccc94453@vip.cybercity.dk>
board/neo1973/gta02/gta02.c
board/neo1973/gta02/pcf50633.c