]> git.sur5r.net Git - u-boot/commitdiff
Socrates: Added USB support.
authorSergei Poselenov <sposelenov@emcraft.com>
Tue, 27 May 2008 09:49:13 +0000 (11:49 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 27 May 2008 10:53:40 +0000 (12:53 +0200)
Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
include/configs/socrates.h

index 8595668be55842b152c880c341cabe253679f780..00c0dabd61be371b69bba4676b97172a7db0892d 100644 (file)
 #define CFG_PCI1_IO_SIZE       0x01000000      /* 16M                  */
 
 #if defined(CONFIG_PCI)
-
 #define CONFIG_PCI_PNP                 /* do pci plug-and-play         */
-
-#define CONFIG_EEPRO100
-#undef CONFIG_TULIP
-
-#undef CONFIG_PCI_SCAN_SHOW            /* show pci devices on startup  */
-#define CFG_PCI_SUBSYS_VENDORID 0x1057 /* Motorola                     */
-
+#define CONFIG_PCI_SCAN_SHOW           /* show pci devices on startup  */
 #endif /* CONFIG_PCI */
 
 
 #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)
 #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 */