summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSergei Poselenov <sposelenov@emcraft.com>2008-05-22 01:15:53 +0200
committerMarkus Klotzbuecher <mk@denx.de>2008-05-22 17:12:48 +0200
commit477434c63c2ea5baa5c6c4e43500786f436511ff (patch)
tree3de62a5e7979d805d688ea12e556e125e3b06b4f /include
parent2c8d41969b47eb0b973912830c58689b2ba0e50a (diff)
downloadu-boot-imx-477434c63c2ea5baa5c6c4e43500786f436511ff.zip
u-boot-imx-477434c63c2ea5baa5c6c4e43500786f436511ff.tar.gz
u-boot-imx-477434c63c2ea5baa5c6c4e43500786f436511ff.tar.bz2
USB: add support for multiple PCI OHCI controllers
Add new configuration variable CONFIG_PCI_OHCI_DEVNO. In case of several PCI USB controllers on a board this variable specifys which controller to use. Also add USB support for sokrates board. See doc/README.generic_usb_ohci for details. Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com> Signed-off-by: Markus Klotzbuecher <mk@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/socrates.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/include/configs/socrates.h b/include/configs/socrates.h
index 5d37383..c3ecd6f 100644
--- a/include/configs/socrates.h
+++ b/include/configs/socrates.h
@@ -232,7 +232,7 @@
#define CONFIG_EEPRO100
#undef CONFIG_TULIP
-#undef CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
+#define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
#define CFG_PCI_SUBSYS_VENDORID 0x1057 /* Motorola */
#endif /* CONFIG_PCI */
@@ -299,8 +299,8 @@
#define CONFIG_CMD_MII
#define CONFIG_CMD_NFS
#define CONFIG_CMD_PING
-#undef CONFIG_CMD_RTC
#define CONFIG_CMD_SNTP
+#define CONFIG_CMD_USB
#if defined(CONFIG_PCI)
@@ -399,4 +399,14 @@
#define CONFIG_OF_LIBFDT 1
#define CONFIG_OF_BOARD_SETUP 1
+/* USB support */
+#define CONFIG_USB_OHCI_NEW 1
+#define CONFIG_PCI_OHCI 1
+#define CONFIG_PCI_OHCI_DEVNO 3 /* Number in PCI list */
+#define CFG_USB_OHCI_MAX_ROOT_PORTS 15
+#define CFG_USB_OHCI_SLOT_NAME "ohci_pci"
+#define CFG_OHCI_SWAP_REG_ACCESS 1
+#define CONFIG_DOS_PARTITION 1
+#define CONFIG_USB_STORAGE 1
+
#endif /* __CONFIG_H */