summaryrefslogtreecommitdiff
path: root/lib_arm
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-03-12 00:14:09 +0000
committerwdenk <wdenk>2004-03-12 00:14:09 +0000
commit232c150a250bb2fcb894b15d67c65df2458e271f (patch)
tree3d714bb0eb041a6499b8e2286a7fedb6fc150847 /lib_arm
parent79d696fc558b2bcdb8aa8dc6cd7e4ccd22008e21 (diff)
Add support for Siemens SX1 mobile phone;
add support for USB-based console (enable with "setenv stdout usbtty; setenv stdin usbtty")
Diffstat (limited to 'lib_arm')
-rw-r--r--lib_arm/armlinux.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/lib_arm/armlinux.c b/lib_arm/armlinux.c
index 8ba9f0c797..8ace062750 100644
--- a/lib_arm/armlinux.c
+++ b/lib_arm/armlinux.c
@@ -12,12 +12,12 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
@@ -256,6 +256,13 @@ void do_bootm_linux (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[],
/* we assume that the kernel is in place */
printf ("\nStarting kernel ...\n\n");
+#ifdef CONFIG_USB_DEVICE
+ {
+ extern void udc_disconnect (void);
+ udc_disconnect ();
+ }
+#endif
+
cleanup_before_linux ();
theKernel (0, bd->bi_arch_number, bd->bi_boot_params);