summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYuri Tikhonov <yur@emcraft.com>2008-09-04 11:19:05 +0200
committerWolfgang Denk <wd@denx.de>2008-09-06 01:24:55 +0200
commite90fb6afab2c0c074dfb67bacb4de179eb188a24 (patch)
treed0cb5743f747384543690ca93f2bbd2aeba99756 /include
parent5875d358f025c1b042d8a0f08384b756de7256c9 (diff)
downloadu-boot-imx-e90fb6afab2c0c074dfb67bacb4de179eb188a24.zip
u-boot-imx-e90fb6afab2c0c074dfb67bacb4de179eb188a24.tar.gz
u-boot-imx-e90fb6afab2c0c074dfb67bacb4de179eb188a24.tar.bz2
USB EHCI: reset root hub
Some of multi-function USB controllers (e.g. ISP1562) allow root hub resetting only via EHCI registers. So, this patch adds the corresponding kind of reset to OHCI's hc_reset() if the newly introduced CONFIG_PCI_EHCI_DEVNO option is set (e.g. for Socrates board). Signed-off-by: Yuri Tikhonov <yur@emcraft.com> Acked-by: Markus Klotzbuecher <mk@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/socrates.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/socrates.h b/include/configs/socrates.h
index 15abec1..5cc4213 100644
--- a/include/configs/socrates.h
+++ b/include/configs/socrates.h
@@ -410,6 +410,7 @@
#define CONFIG_USB_OHCI_NEW 1
#define CONFIG_PCI_OHCI 1
#define CONFIG_PCI_OHCI_DEVNO 3 /* Number in PCI list */
+#define CONFIG_PCI_EHCI_DEVNO (CONFIG_PCI_OHCI_DEVNO / 2)
#define CFG_USB_OHCI_MAX_ROOT_PORTS 15
#define CFG_USB_OHCI_SLOT_NAME "ohci_pci"
#define CFG_OHCI_SWAP_REG_ACCESS 1