public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH 3/3] Add USB support for MPC8641HPCN board.
@ 2007-04-25  3:49 Zhang Wei
  2007-05-10 19:01 ` Jon Loeliger
  0 siblings, 1 reply; 8+ messages in thread
From: Zhang Wei @ 2007-04-25  3:49 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: Zhang Wei <wei.zhang@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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-05-14 11:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-25  3:49 [U-Boot-Users] [PATCH 3/3] Add USB support for MPC8641HPCN board Zhang Wei
2007-05-10 19:01 ` Jon Loeliger
2007-05-11 10:18   ` Markus Klotzbücher
2007-05-11 12:30     ` Wolfgang Denk
2007-05-14  9:23       ` Markus Klotzbücher
2007-05-14 11:03         ` Wolfgang Denk
2007-05-14 11:37           ` Markus Klotzbücher
2007-05-11 16:05     ` Jon Loeliger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox