[U-Boot] [PATCH] beagleboard: enable HUB power on all variants of the BeagleBoard

Joel A Fernandes agnel.joel at gmail.com
Sat Aug 27 06:46:08 CEST 2011


+U-boot list


---------- Forwarded message ----------
From: Joel A Fernandes <agnel.joel at gmail.com>
Date: Fri, Aug 26, 2011 at 11:45 PM
Subject: Re: [PATCH] beagleboard: enable HUB power on all variants of
the BeagleBoard
To: Jason Kridner <jkridner at beagleboard.org>


>
> The logic is wrong here.  I don't remember the polarity, but I do remember that it is
> xM-A and xM-B that are the oddballs.  I believe this is the correct change:

Hi Jason,

LEDAON should be high for HUB power up on xMA and xMB, so in your code snip:

>
> +       switch (get_board_revision()) {
> +       case REVISION_XM_A:
> +       case REVISION_XM_B:
> +               twl4030_led_init(TWL4030_LED_LEDEN_LEDBON);

So this should be TWL4030_LED_LEDEN_LEDBON | TWL4030_LED_LEDEN_LEDAON

> +               break;
> +       default:
> +               twl4030_led_init(TWL4030_LED_LEDEN_LEDAON | TWL4030_LED_LEDEN_LEDBON);

and, this should be TWL4030_LED_LEDEN_LEDBON

Am I correct?

Thanks
Joel


More information about the U-Boot mailing list