From 9fd5e31fe0245c44a11d35a8603bb6b25c97b5c8 Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 7 Dec 2003 23:55:12 +0000 Subject: * Patch by Pierre Aubert, 24 Nov 2003: - add a return value for the fpga command - add ide_preinit() function called in ide_init if CONFIG_IDE_PREINIT is defined. If ide_preinit fails, ide_init is aborted. - fix an endianess problem in fat.h --- board/trab/auto_update.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/trab/auto_update.c') diff --git a/board/trab/auto_update.c b/board/trab/auto_update.c index af37495836..36fdf18e89 100644 --- a/board/trab/auto_update.c +++ b/board/trab/auto_update.c @@ -468,7 +468,7 @@ do_auto_update(void) * check whether a storage device is attached (assume that it's * a USB memory stick, since nothing else should be attached). */ - au_usb_stor_curr_dev = usb_stor_scan(1); + au_usb_stor_curr_dev = usb_stor_scan(0); if (au_usb_stor_curr_dev == -1) { debug ("No device found. Not initialized?\n"); return -1; -- cgit v1.2.1