summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2007-10-24 01:37:36 +0200
committerWolfgang Denk <wd@denx.de>2007-11-03 22:08:46 +0100
commit56622f87857439b1c221e9deef11a9d5bb5d4308 (patch)
tree0b629b41ee905fa94dcf4b11aca20d2392f542bc
parent29c29c0267fe857e72014ce90c5d35b2ef6302bd (diff)
downloadu-boot-imx-56622f87857439b1c221e9deef11a9d5bb5d4308.zip
u-boot-imx-56622f87857439b1c221e9deef11a9d5bb5d4308.tar.gz
u-boot-imx-56622f87857439b1c221e9deef11a9d5bb5d4308.tar.bz2
TQM5200: Call usb_cpu_init() during board init
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>
-rw-r--r--board/tqm5200/tqm5200.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/board/tqm5200/tqm5200.c b/board/tqm5200/tqm5200.c
index d10cb59..da4e228 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)