public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] beagleboard: enable HUB power on XM boards
Date: Tue, 14 Jun 2011 16:33:02 +0200	[thread overview]
Message-ID: <4DF7711E.5050702@eukrea.com> (raw)
In-Reply-To: <4DF76FD5.9060906@bct-electronic.com>

Hi Christian,

On 14/06/2011 16:27, Christian Spielberger wrote:
> we have both, a beagle xM-B and a beagle xM-C. The following works on
> both boards and is different from your patch. It is not possible to
> differentiate between Rev xM-A and xM-B. Anyway, the only difference is
> in the processors silicon revision (ES 1.0 to ES 1.1).
>
> regards,
> chris.
>
> ---
> @@ -299,7 +309,15 @@ int misc_init_r(void)
>                   setenv(expansion_config.env_var,
> expansion_config.env_setting);
>
>           twl4030_power_init();
> -       twl4030_led_init(TWL4030_LED_LEDEN_LEDAON |
> TWL4030_LED_LEDEN_LEDBON);
> +       switch (get_board_revision()) {
> +               case REVISION_XM_C:
> +               case REVISION_C4:
> +                       twl4030_led_init( TWL4030_LED_LEDEN_LEDAON |
> TWL4030_LED_LEDEN_LEDBON );
> +                       break;
> +               default:
> +                       twl4030_led_init( TWL4030_LED_LEDEN_LEDBON );
> +                       break;
> +       }
>
>           /* Configure GPIOs to output */
>           writel(~(GPIO23 | GPIO10 | GPIO8 | GPIO2 | GPIO1),
> &gpio6_base->oe);

ok thanks, I'll include it with an update to the previous patch that fix a 
problem when loading the kernel with USB clocks enabled.

Eric

  reply	other threads:[~2011-06-14 14:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-14 14:27 [U-Boot] [PATCH 2/2] beagleboard: enable HUB power on XM boards Christian Spielberger
2011-06-14 14:33 ` Eric Bénard [this message]
2011-08-12 21:09   ` Jason Kridner
2011-08-13  7:25     ` Eric Bénard
  -- strict thread matches above, loose matches on Subject: below --
2011-06-10 22:21 [U-Boot] [PATCH 1/2] dm3730: enable dpll5 Eric Bénard
2011-06-10 22:21 ` [U-Boot] [PATCH 2/2] beagleboard: enable HUB power on XM boards Eric Bénard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DF7711E.5050702@eukrea.com \
    --to=eric@eukrea.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox