Merge branch 'master' of git://git.denx.de/u-boot-arm
* 'master' of git://git.denx.de/u-boot-arm: tegra: define fdt_load/fdt_high variables tegra: enable bootz command tegra: usb: Fix device enumeration problem of USB1 tegra: trimslice: set up serial flash pinmux tegra: add pin_mux_spi() board initialization function tegra: add GMC/GMD funcmux entry for SFLASH tegra: bootcmd: start USB only when needed tegra: bootcmd enhancements tegra: add enterrcm command tegra: enable CONFIG_ENV_VARS_UBOOT_CONFIG Add env vars describing U-Boot target board tegra: usb: fix wrong error check tegra: add ULPI on USB2 funcmux entry tegra: fix leftover CONFIG_TEGRA2_MMC & _SPI build switches tegra: Add Tamonten Evaluation Carrier support tegra: Use SD write-protect GPIO on Tamonten tegra: Implement gpio_early_init() on Tamonten tegra: Allow boards to perform early GPIO setup tegra: plutux: Add device tree support tegra: medcom: Add device tree support tegra: Rework Tamonten support beagle: add eeprom expansion board info for bct brettl4 Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2009 NVIDIA Corporation
|
||||
* Copyright (c) 2009-2012 NVIDIA Corporation
|
||||
*
|
||||
* See file CREDITS for list of people who contributed to this
|
||||
* project.
|
||||
@@ -29,6 +29,22 @@
|
||||
#include <asm/errno.h>
|
||||
#include <asm/arch/usb.h>
|
||||
|
||||
/*
|
||||
* A known hardware issue where Connect Status Change bit of PORTSC register
|
||||
* of USB1 controller will be set after Port Reset.
|
||||
* We have to clear it in order for later device enumeration to proceed.
|
||||
* This ehci_powerup_fixup overrides the weak function ehci_powerup_fixup
|
||||
* in "ehci-hcd.c".
|
||||
*/
|
||||
void ehci_powerup_fixup(uint32_t *status_reg, uint32_t *reg)
|
||||
{
|
||||
mdelay(50);
|
||||
if (((u32) status_reg & TEGRA_USB_ADDR_MASK) != TEGRA_USB1_BASE)
|
||||
return;
|
||||
/* For EHCI_PS_CSC to be cleared in ehci_hcd.c */
|
||||
if (ehci_readl(status_reg) & EHCI_PS_CSC)
|
||||
*reg |= EHCI_PS_CSC;
|
||||
}
|
||||
|
||||
/*
|
||||
* Create the appropriate control structures to manage
|
||||
|
||||
Reference in New Issue
Block a user