* [U-Boot-Users] [PATCH] TQM5200: Call usb_cpu_init() during board init
@ 2007-10-23 23:37 Marian Balakowicz
2007-10-31 9:41 ` Markus Klotzbücher
2007-11-03 21:09 ` Wolfgang Denk
0 siblings, 2 replies; 3+ messages in thread
From: Marian Balakowicz @ 2007-10-23 23:37 UTC (permalink / raw)
To: u-boot
usb_cpu_init() configures GPS USB pins, clocks, etc. and
is required for proper operation of kernel USB subsystem.
This setup was previously done in the kernel by the fixup
code which is being removed, thus low level init must be
done by U-boot now.
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
---
board/tqm5200/tqm5200.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/board/tqm5200/tqm5200.c b/board/tqm5200/tqm5200.c
index 29d6f00..9e24578 100644
--- a/board/tqm5200/tqm5200.c
+++ b/board/tqm5200/tqm5200.c
@@ -441,15 +441,21 @@ ulong post_word_load (void)
}
#endif /* CONFIG_POST || CONFIG_LOGBUFFER*/
-#ifdef CONFIG_PS2MULT
#ifdef CONFIG_BOARD_EARLY_INIT_R
int board_early_init_r (void)
{
+#ifdef CONFIG_PS2MULT
ps2mult_early_init();
+#endif /* CONFIG_PS2MULT */
+
+#if defined(CONFIG_USB_OHCI_NEW) && defined(CFG_USB_OHCI_CPU_INIT)
+ /* Low level USB init, required for proper kernel operation */
+ usb_cpu_init();
+#endif
+
return (0);
}
#endif
-#endif /* CONFIG_PS2MULT */
#ifdef CONFIG_FO300
int silent_boot (void)
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot-Users] [PATCH] TQM5200: Call usb_cpu_init() during board init
2007-10-23 23:37 [U-Boot-Users] [PATCH] TQM5200: Call usb_cpu_init() during board init Marian Balakowicz
@ 2007-10-31 9:41 ` Markus Klotzbücher
2007-11-03 21:09 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Markus Klotzbücher @ 2007-10-31 9:41 UTC (permalink / raw)
To: u-boot
Marian Balakowicz <m8@semihalf.com> writes:
> usb_cpu_init() configures GPS USB pins, clocks, etc. and
> is required for proper operation of kernel USB subsystem.
> This setup was previously done in the kernel by the fixup
> code which is being removed, thus low level init must be
> done by U-boot now.
>
> Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Thanks, added to USB custodian repo.
Best regards
Markus Klotzbuecher
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] [PATCH] TQM5200: Call usb_cpu_init() during board init
2007-10-23 23:37 [U-Boot-Users] [PATCH] TQM5200: Call usb_cpu_init() during board init Marian Balakowicz
2007-10-31 9:41 ` Markus Klotzbücher
@ 2007-11-03 21:09 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2007-11-03 21:09 UTC (permalink / raw)
To: u-boot
In message <20071023233736.30190.77710.stgit@hekate.izotz.org> you wrote:
> usb_cpu_init() configures GPS USB pins, clocks, etc. and
> is required for proper operation of kernel USB subsystem.
> This setup was previously done in the kernel by the fixup
> code which is being removed, thus low level init must be
> done by U-boot now.
>
> Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: 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
A good marriage would be between a blind wife and deaf husband.
-- Michel de Montaigne
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-11-03 21:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-23 23:37 [U-Boot-Users] [PATCH] TQM5200: Call usb_cpu_init() during board init Marian Balakowicz
2007-10-31 9:41 ` Markus Klotzbücher
2007-11-03 21:09 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox