From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 29 Jun 2015 17:22:44 +0200 Subject: [U-Boot] [PATCH v1 8/9] usb: Add EHCI support for Armada 38x (mvebu) In-Reply-To: <1435582696-30068-9-git-send-email-sr@denx.de> References: <1435582696-30068-1-git-send-email-sr@denx.de> <1435582696-30068-9-git-send-email-sr@denx.de> Message-ID: <201506291722.44585.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Marek Vasut > Cc: Luka Perkov Reviewed-by: Marek Vasut [...] > +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? Best regards, Marek Vasut