]> git.sur5r.net Git - u-boot/commitdiff
Add USB PCI-OHCI, USB keyboard and event poll support to the
authorZhang Wei <wei.zhang@freescale.com>
Wed, 6 Jun 2007 08:08:14 +0000 (10:08 +0200)
committerMarkus Klotzbuecher <mk@pollux.denx.de>
Wed, 6 Jun 2007 08:08:14 +0000 (10:08 +0200)
MPC8641HPCN board config file.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
include/configs/MPC8641HPCN.h

index bbe35053dd7ff3874159685a6cb52d4daf82f7e7..efac4c535d02f5c6dedb4d2cb11d4b6021c8c473 100644 (file)
 #undef CONFIG_EEPRO100
 #undef CONFIG_TULIP
 
+/************************************************************
+ * USB support
+ ************************************************************/
+#define CONFIG_PCI_OHCI                1
+#define CONFIG_USB_OHCI_NEW            1
+#define CONFIG_USB_KEYBOARD    1
+#define CFG_DEVICE_DEREGISTER
+#define CFG_USB_EVENT_POLL     1
+#define CFG_USB_OHCI_SLOT_NAME         "ohci_pci"
+#define CFG_USB_OHCI_MAX_ROOT_PORTS 15
+
 #if !defined(CONFIG_PCI_PNP)
     #define PCI_ENET0_IOADDR   0xe0000000
     #define PCI_ENET0_MEMADDR  0xe0000000
                                 | CFG_CMD_PCI          \
                                 | CFG_CMD_I2C          \
                                 | CFG_CMD_SCSI         \
+                                | CFG_CMD_USB          \
                                 | CFG_CMD_EXT2)        \
                                &                       \
                                 ~(CFG_CMD_ENV))
                                | CFG_CMD_PING          \
                                | CFG_CMD_I2C           \
                                | CFG_CMD_SCSI          \
+                               | CFG_CMD_USB           \
                                | CFG_CMD_EXT2)
   #else
     #define  CONFIG_COMMANDS   (CONFIG_CMD_DFL         \