mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Teresa Gámez" <t.gamez@phytec.de>
To: barebox@lists.infradead.org
Subject: [PATCHv2 5/6] ARM OMAP: Apply EHCI device register functions
Date: Thu, 20 Dec 2012 15:22:33 +0100	[thread overview]
Message-ID: <1356013354-25832-6-git-send-email-t.gamez@phytec.de> (raw)
In-Reply-To: <1356013354-25832-1-git-send-email-t.gamez@phytec.de>


Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
---
 arch/arm/boards/beagle/board.c |    3 +--
 arch/arm/boards/panda/board.c  |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boards/beagle/board.c b/arch/arm/boards/beagle/board.c
index e0e1da6..88096bb 100644
--- a/arch/arm/boards/beagle/board.c
+++ b/arch/arm/boards/beagle/board.c
@@ -293,8 +293,7 @@ static int beagle_devices_init(void)
 
 #ifdef CONFIG_USB_EHCI_OMAP
 	if (ehci_omap_init(&omap_ehci_pdata) >= 0)
-		add_usb_ehci_device(DEVICE_ID_DYNAMIC, OMAP3_EHCI_BASE,
-				    OMAP3_EHCI_BASE + 0x10, &ehci_pdata);
+		omap3_add_ehci(&ehci_pdata);
 #endif /* CONFIG_USB_EHCI_OMAP */
 #ifdef CONFIG_OMAP_GPMC
 	/* WP is made high and WAIT1 active Low */
diff --git a/arch/arm/boards/panda/board.c b/arch/arm/boards/panda/board.c
index 8054a6a..4ca2a81 100644
--- a/arch/arm/boards/panda/board.c
+++ b/arch/arm/boards/panda/board.c
@@ -86,8 +86,7 @@ static void panda_ehci_init(void)
 	/* enable power to hub */
 	gpio_set_value(GPIO_HUB_POWER, 1);
 
-	add_usb_ehci_device(DEVICE_ID_DYNAMIC, 0x4a064c00,
-			    0x4a064c00 + 0x10, &ehci_pdata);
+	omap44xx_add_ehci(&ehci_pdata);
 }
 #else
 static void panda_ehci_init(void)
-- 
1.7.0.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2012-12-20 14:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-20 14:22 [PATCHv2 0/6] Add PCM051 support Teresa Gámez
2012-12-20 14:22 ` [PATCHv2 1/6] ARM AM33XX: Add mmc0 pin mux function Teresa Gámez
2012-12-20 14:22 ` [PATCHv2 2/6] ARM OMAP: Add SRAM and DRAM to device register functions Teresa Gámez
2012-12-20 14:22 ` [PATCHv2 3/6] ARM OMAP: Apply RAM device register functions to boards Teresa Gámez
2012-12-20 14:25   ` Jean-Christophe PLAGNIOL-VILLARD
2012-12-20 14:22 ` [PATCHv2 4/6] ARM OMAP: Add EHCI to device register functions Teresa Gámez
2012-12-20 14:22 ` Teresa Gámez [this message]
2012-12-20 14:22 ` [PATCHv2 6/6] pcm051: Add inital support Teresa Gámez
2012-12-21 11:22 ` [PATCHv2 0/6] Add PCM051 support Sascha Hauer

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=1356013354-25832-6-git-send-email-t.gamez@phytec.de \
    --to=t.gamez@phytec.de \
    --cc=barebox@lists.infradead.org \
    /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