Skip to contentSkip to conversation

xscale: fix USB initialization for Trizepsiv module

PATCH New Stefano Babic 2 participants 3 messages Jul 1, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xscale: fix USB initialization for Trizepsiv module

Due to change in the usb_board_init() prototype, the USB for the TrizepsIV was not correctly initialized. Removed dummy print from usb_board_stop().

---
 board/trizepsiv/conxs.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
board/trizepsiv/conxs.c +3 -2
index 4249e3d..8c11456 100644
@@ -55,7 +55,7 @@ extern struct serial_device serial_stuart_device;
  * Miscelaneous platform dependent initialisations
  */
 
-void usb_board_init(void)
+int usb_board_init(void)
 {
 	UHCHR = (UHCHR | UHCHR_PCPL | UHCHR_PSPL) &
 		~(UHCHR_SSEP0 | UHCHR_SSEP1 | UHCHR_SSEP2 | UHCHR_SSE);
@@ -76,6 +76,8 @@ void usb_board_init(void)
 
 	/* Set port power control mask bits, only 3 ports. */
 	UHCRHDB |= (0x7<<17);
+
+	return 0;
 }
 
 void usb_board_init_fail(void)
@@ -94,7 +96,6 @@ void usb_board_stop(void)
 
 	CKEN &= ~CKEN10_USBHOST;
 
-	puts("Called USB STOP\n");
 	return;
 }
 
Signature · 1 line
1.6.0.4
#1 lore raw

PATCH 1/1 xscale: add support for the polaris board

Quoted 11 lines · Stefano Babic

The Polaris board is based on the TrizepsIV module of Keith & Koep (http://www.keith-koep.com).

---
 MAINTAINERS                 |    5 +++++
 MAKEALL                     |    2 ++
 Makefile                    |    7 ++++++-
 board/trizepsiv/conxs.c     |   22 ++++++++++++----------
 include/configs/trizepsiv.h |   25 ++++++++++++++++++++++---
 5 files changed, 47 insertions(+), 14 deletions(-)

Applied to u-boot-arm

Best Regards,
J.

#2 lore raw

PATCH 1/1 xscale: fix USB initialization for Trizepsiv module

In reply to Stefano Babic
Quoted 8 lines · Stefano Babic

Due to change in the usb_board_init() prototype, the USB for the TrizepsIV was not correctly initialized. Removed dummy print from usb_board_stop().

---
 board/trizepsiv/conxs.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

Applied to u-boot-arm

Best Regards,
J.