Re: u-boot: charging patch

2009-01-11 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Somebody in the thread at some point said: | Andy Green writes: |> I can see the logic, but why in U-Boot? Are people really sitting in |> U-Boot and need more commands for stuff like charging? | | When the battery is very empty it would be nice to b

Re: u-boot: charging patch

2009-01-11 Thread Timo Juhani Lindfors
Andy Green writes: > I can see the logic, but why in U-Boot? Are people really sitting in > U-Boot and need more commands for stuff like charging? When the battery is very empty it would be nice to be able to sit in uboot and charge the battery for a while before attempting to boot linux. For th

Re: u-boot: charging patch

2009-01-11 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Somebody in the thread at some point said: | phil...@hug.cx writes: |> diff --git a/board/neo1973/gta02/gta02.c b/board/neo1973/gta02/gta02.c |> index a59a513..4255caa 100644 |> --- a/board/neo1973/gta02/gta02.c |> +++ b/board/neo1973/gta02/gta02.c |>

Re: u-boot: charging patch

2009-01-11 Thread Timo Juhani Lindfors
phil...@hug.cx writes: > diff --git a/board/neo1973/gta02/gta02.c b/board/neo1973/gta02/gta02.c > index a59a513..4255caa 100644 > --- a/board/neo1973/gta02/gta02.c > +++ b/board/neo1973/gta02/gta02.c > @@ -322,6 +322,11 @@ static void set_revision(void) > > static void poll_charger(void) > { >

u-boot: charging patch

2009-01-09 Thread philipp
Hi, I tried to charge my Freerunner with a car charger yesterday but I had no success. The reason for this: If there's no USB host connected that tells u-boot to charge at 500mA it will call pcf50633_usb_maxcurrent with 0 and this essentially disables charging. So I made a patch to fix this probl