Skip to contentSkip to conversation

Add USB support for MPC8641HPCN board.

PATCH New Zhang Wei 4 participants 8 messages Apr 25, 2007 – May 14, 2007

lore
Share & tools
lore

Zhang Wei

author
#0 lore raw

PATCH 3/3 Add USB support for MPC8641HPCN board.

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

---
 include/configs/MPC8641HPCN.h |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
include/configs/MPC8641HPCN.h +13 -0
index 0bc8324..138a88e 100644
@@ -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		\
Signature · 1 line
1.5.1
#1 lore raw

PATCH 3/3 Add USB support for MPC8641HPCN board.

Quoted 4 lines · Zhang Wei

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

Markus,

Have you had a chance to look at this series of patches that add USB to the 8641 board yet?

Thanks,
jdl

#2 lore raw

PATCH 3/3 Add USB support for MPC8641HPCN board.

Dear Jon,

Quoted 10 lines · Jon Loeliger
Quoted 4 lines · Zhang Wei

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

Markus,

Have you had a chance to look at this series of patches that add USB to the 8641 board yet?

So far I only had a brief look, and didn't see any problems. As soon as I get Wolfang to pull the last USB changes from uboot-USB, I'll start pushing the next round of patches to the custodian repo.

Best regards

Markus

--
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office: Kirchenstr. 5, D-82194 Groebenzell, Germany

#3 lore raw

PATCH 3/3 Add USB support for MPC8641HPCN board.

Quoted 4 lines · In message <[email protected]> you wrote:

So far I only had a brief look, and didn't see any problems. As soon as I get Wolfang to pull the last USB changes from uboot-USB, I'll start pushing the next round of patches to the custodian repo.

Did you ever send a pull request? I can't find any...

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,    CEO: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Q: Why do PCs have a reset button on the front?
A: Because they are expected to run Microsoft operating systems.
#4 lore raw

PATCH 3/3 Add USB support for MPC8641HPCN board.

Hi Wolfgang,

Quoted 7 lines · Wolfgang Denk
Quoted 4 lines · In message <[email protected]> you wrote:

So far I only had a brief look, and didn't see any problems. As soon as I get Wolfang to pull the last USB changes from uboot-USB, I'll start pushing the next round of patches to the custodian repo.

Did you ever send a pull request? I can't find any...

I did, see the "USB custodian repostiory updates" thread. I resolved the conflict you found and requested a pull again.

Best regards

Markus

--
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office: Kirchenstr. 5, D-82194 Groebenzell, Germany

#5 lore raw

PATCH 3/3 Add USB support for MPC8641HPCN board.

Quoted 5 lines · In message <[email protected]> you wrote:
Quoted 2 lines

Did you ever send a pull request? I can't find any...

I did, see the "USB custodian repostiory updates" thread. I resolved the conflict you found and requested a pull again.

I guess there wasn't a PULL in the Subject line, then?

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,    CEO: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Ever try. Ever fail. No matter. Try again. Fail again.  Fail  better.
                                                        -- S. Beckett
#6 lore raw

PATCH 3/3 Add USB support for MPC8641HPCN board.

Quoted 8 lines · Wolfgang Denk
Quoted 5 lines · In message <[email protected]> you wrote:
Quoted 2 lines

Did you ever send a pull request? I can't find any...

I did, see the "USB custodian repostiory updates" thread. I resolved the conflict you found and requested a pull again.

I guess there wasn't a PULL in the Subject line, then?

Uhmm, possibly not. I wasn't aware this was necessary.

Regards

Markus

--
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office: Kirchenstr. 5, D-82194 Groebenzell, Germany

#7 lore raw

PATCH 3/3 Add USB support for MPC8641HPCN board.

In reply to Markus Klotzbücher
Quoted 6 lines · Markus Klotzb??cher
Quoted 2 lines

Have you had a chance to look at this series of patches that add USB to the 8641 board yet?

So far I only had a brief look, and didn't see any problems. As soon as I get Wolfang to pull the last USB changes from uboot-USB, I'll start pushing the next round of patches to the custodian repo.

Hi Markus,

That sounds good! Thanks!

jdl