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: Sat, 11 Jun 2011 00:21:53 +0200	[thread overview]
Message-ID: <1307744513-5745-2-git-send-email-eric@eukrea.com> (raw)
In-Reply-To: <1307744513-5745-1-git-send-email-eric@eukrea.com>

LEDA needs to be at level 0 to enable HUB_3V3

Signed-off-by: Eric B?nard <eric@eukrea.com>
---
 board/ti/beagle/beagle.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
index ab50514..7509916 100644
--- a/board/ti/beagle/beagle.c
+++ b/board/ti/beagle/beagle.c
@@ -299,7 +299,10 @@ 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);
+	if (get_board_revision() < REVISION_C4)
+		twl4030_led_init(TWL4030_LED_LEDEN_LEDBON); /* Enable HUB PWR */
+	else
+		twl4030_led_init(TWL4030_LED_LEDEN_LEDAON | TWL4030_LED_LEDEN_LEDBON);
 
 	/* Configure GPIOs to output */
 	writel(~(GPIO23 | GPIO10 | GPIO8 | GPIO2 | GPIO1), &gpio6_base->oe);
-- 
1.7.0.4

  reply	other threads:[~2011-06-10 22:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-10 22:21 [U-Boot] [PATCH 1/2] dm3730: enable dpll5 Eric Bénard
2011-06-10 22:21 ` Eric Bénard [this message]
2011-08-12 19:47 ` Jason Kridner
2011-08-18  1:10   ` Joel A Fernandes
  -- strict thread matches above, loose matches on Subject: below --
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
2011-08-12 21:09   ` Jason Kridner
2011-08-13  7:25     ` 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=1307744513-5745-2-git-send-email-eric@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