public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Zhang Wei <wei.zhang@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 3/3] Add USB support for MPC8641HPCN board.
Date: Wed, 25 Apr 2007 11:49:39 +0800	[thread overview]
Message-ID: <1177472979149-git-send-email-wei.zhang@freescale.com> (raw)

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

             reply	other threads:[~2007-04-25  3:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-25  3:49 Zhang Wei [this message]
2007-05-10 19:01 ` [U-Boot-Users] [PATCH 3/3] Add USB support for MPC8641HPCN board 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1177472979149-git-send-email-wei.zhang@freescale.com \
    --to=wei.zhang@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox