[U-Boot-Users] [PATCH 3/3] Add USB support for MPC8641HPCN board.

Zhang Wei wei.zhang at freescale.com
Wed Apr 25 05:49:39 CEST 2007


The USB PCI-OHCI, USB keyboard and event poll support are added to
MPC8641HPCN board config file.

Signed-off-by: Zhang Wei <wei.zhang at freescale.com>
---
 include/configs/MPC8641HPCN.h |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h
index 0bc8324..138a88e 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -331,6 +331,17 @@
 #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
@@ -485,6 +496,7 @@
 				 | CFG_CMD_PCI		\
 				 | CFG_CMD_I2C		\
 				 | CFG_CMD_SCSI		\
+				 | CFG_CMD_USB		\
 				 | CFG_CMD_EXT2)	\
 				&			\
 				 ~(CFG_CMD_ENV))
@@ -502,6 +514,7 @@
 				| CFG_CMD_PING		\
 				| CFG_CMD_I2C		\
 				| CFG_CMD_SCSI		\
+				| CFG_CMD_USB		\
 				| CFG_CMD_EXT2)
   #else
     #define  CONFIG_COMMANDS	(CONFIG_CMD_DFL		\
-- 
1.5.1





More information about the U-Boot mailing list