All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Spielberger <c.spielberger@bct-electronic.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:27:33 +0200	[thread overview]
Message-ID: <4DF76FD5.9060906@bct-electronic.com> (raw)

Hello Eric,

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);

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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-14 14:27 Christian Spielberger [this message]
2011-06-14 14:33 ` [U-Boot] [PATCH 2/2] beagleboard: enable HUB power on XM boards Eric Bénard
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=4DF76FD5.9060906@bct-electronic.com \
    --to=c.spielberger@bct-electronic.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.