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)
>  {
> +     /* charge with at least 100 mA otherwise dumb chargers won't work*/
> +     if (udc_usb_maxcurrent < 100) {
> +             udc_usb_maxcurrent = 100;
> +     }
> +

Disclamer: I am not an u-boot developer :-)

Shouldn't this be configurable? We already have a command for enabling
500mA charging so why not add a command to enable 100mA charging too?

"neo1973 charger fast - enable fast (500mA) charging\n"


_______________________________________________
devel mailing list
devel@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/devel

Reply via email to