From: Grazvydas Ignotas Date: Tue, 27 Dec 2011 15:17:49 +0000 (+0200) Subject: don't init USB unconditionally X-Git-Tag: sz_175~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a3c26c7ac962a36bf53b37d393d44c572eb97d8;p=pandora-u-boot.git don't init USB unconditionally Since USB init takes time, and only few users will use this feature, start it only when selected from menu or when the custom 'usbinit' command is issued. --- diff --git a/common/stdio.c b/common/stdio.c index 97ff9cf4a6a..63459fcf70a 100644 --- a/common/stdio.c +++ b/common/stdio.c @@ -228,8 +228,11 @@ int stdio_init (void) drv_system_init (); serial_stdio_init (); #ifdef CONFIG_USB_TTY +/* HACK, we only want it to start when selected from menu */ +#ifndef CONFIG_OMAP3_PANDORA drv_usbtty_init (); #endif +#endif #ifdef CONFIG_NETCONSOLE drv_nc_init (); #endif