[U-Boot] [PATCH v1 8/9] usb: Add EHCI support for Armada 38x (mvebu)

Marek Vasut marex at denx.de
Mon Jun 29 17:22:44 CEST 2015


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 at denx.de>
> Cc: Marek Vasut <marex at denx.de>
> Cc: Luka Perkov <luka.perkov at sartura.hr>

Reviewed-by: Marek Vasut <marex at denx.de>

[...]

> +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


More information about the U-Boot mailing list