These two changes get charging working on GTA03 with new battery.

Signed-off-by: Andy Green <[EMAIL PROTECTED]>
---

 src/cpu/s3c6410/gta03.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/cpu/s3c6410/gta03.c b/src/cpu/s3c6410/gta03.c
index 10ac90e..acffb0b 100644
--- a/src/cpu/s3c6410/gta03.c
+++ b/src/cpu/s3c6410/gta03.c
@@ -33,13 +33,13 @@ const struct pcf50633_init gta03_pcf50633_init[] = {
        { PCF50633_REG_MBCC2,           0x28 }, /* Vbatconid=2.7V, Vmax=4.20V */
        { PCF50633_REG_MBCC3,           0x19 }, /* 25/255 == 98mA pre-charge */
        { PCF50633_REG_MBCC4,           0xff }, /* 255/255 == 1A adapter fast */
-       { PCF50633_REG_MBCC5,           0x19 }, /* 25/255 == 98mA soft-start 
usb fast */
+       { PCF50633_REG_MBCC5,           0xff }, /* 255/255 == 1A USB fast */
 
        { PCF50633_REG_MBCC6,           0x00 }, /* cutoff current 1/32 * Ichg */
-#if 0
+
        /* current prototype is pulling > 100mA at startup */
-       { PCF50633_REG_MBCC7,           0x00 }, /* 1.6A max bat curr, USB 100mA 
*/
-#endif
+       { PCF50633_REG_MBCC7,           0xc1 }, /* 2.2A max bat curr, USB 500mA 
*/
+
        { PCF50633_REG_MBCC8,           0x00 },
        { PCF50633_REG_MBCC1,           0xff }, /* chgena */
 


Reply via email to