public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v1 8/9] usb: Add EHCI support for Armada 38x (mvebu)
Date: Thu, 2 Jul 2015 13:13:58 +0200	[thread overview]
Message-ID: <201507021313.58211.marex@denx.de> (raw)
In-Reply-To: <55951A85.3070506@denx.de>

On Thursday, July 02, 2015 at 01:03:33 PM, Stefan Roese wrote:
> Hi Marek,
> 
> On 29.06.2015 17:22, Marek Vasut wrote:
> > On Monday, June 29, 2015 at 02:58:15 PM, Stefan Roese wrote:
> >> This patch adds USB EHCI host support for the common mvebu platform.
> >> Including the Armada 38x.
> >> 
> >> Tested on DB-88F6280-GP eval board.
> >> 
> >> Signed-off-by: Stefan Roese <sr@denx.de>
> >> Cc: Marek Vasut <marex@denx.de>
> >> Cc: Luka Perkov <luka.perkov@sartura.hr>
> > 
> > Reviewed-by: Marek Vasut <marex@denx.de>
> 
> Thanks.
> 
> > [...]
> > 
> >> +static void usb_brg_adrdec_setup(void)
> >> +{
> >> +	const struct mbus_dram_target_info *dram;
> >> +	int i;
> >> +
> >> +	dram = mvebu_mbus_dram_info();
> >> +
> >> +	for (i = 0; i < 4; i++) {
> >> +		wrl(USB_WINDOW_CTRL(i), 0);
> >> +		wrl(USB_WINDOW_BASE(i), 0);
> >> +	}
> > 
> > These wrl() accessors are a bit weird, but maybe there's some
> > marvell magic behind this?
> 
> Not really. They are just adding the controller base address. Its used
> in the current driver code - so I just used it here as well.
> 
> I'll send a patch to remove these macros (move to readl/writel) once all
> this is in mainline.

I guess that makes sense eventually, yeah. Thanks :)

Best regards,
Marek Vasut

  reply	other threads:[~2015-07-02 11:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-29 12:58 [U-Boot] [PATCH v1 0/9] mvebu/a38x: Add MMC/SDIO, SATA/AHCI and USB/EHCI support Stefan Roese
2015-06-29 12:58 ` [U-Boot] [PATCH v1 1/9] mmc: sdhci: Use timer based timeout detection in sdhci_send_command() Stefan Roese
2015-06-29 12:58 ` [U-Boot] [PATCH v1 2/9] mmc: sdhci.c: Add config option to use a fixed buffer for transfers Stefan Roese
2015-06-29 12:58 ` [U-Boot] [PATCH v1 3/9] arm: mvebu: Add SDIO/SDHCI support for Armada A38x Stefan Roese
2015-06-29 12:58 ` [U-Boot] [PATCH v1 4/9] arm: mvebu: db-88f6820-gp: Add MMC/SDIO support Stefan Roese
2015-06-29 12:58 ` [U-Boot] [PATCH v1 5/9] block: ahci: Don't enable port interrupts Stefan Roese
2015-06-29 16:03   ` Simon Glass
2015-06-29 12:58 ` [U-Boot] [PATCH v1 6/9] arm: mvebu: Add SATA/SCSI (AHCI) support for Armada A38x Stefan Roese
2015-06-29 12:58 ` [U-Boot] [PATCH v1 7/9] arm: mvebu: db-88f6820-gp.h: Add SATA/SCSI (AHCI) support Stefan Roese
2015-06-29 12:58 ` [U-Boot] [PATCH v1 8/9] usb: Add EHCI support for Armada 38x (mvebu) Stefan Roese
2015-06-29 15:22   ` Marek Vasut
2015-07-02 11:03     ` Stefan Roese
2015-07-02 11:13       ` Marek Vasut [this message]
2015-06-29 12:58 ` [U-Boot] [PATCH v1 9/9] arm: mvebu: db-88f6820-gp: Add USB/EHCI support Stefan Roese

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=201507021313.58211.marex@denx.de \
    --to=marex@denx.de \
    --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