> -----Original Message----- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Albert Aribaud > Sent: Wednesday, September 08, 2010 11:01 PM > To: u-boot@lists.denx.de > Subject: [U-Boot] [PATCH V3] mvsata_ide: adjust port init sequence > > mvsata_ide_initialize_port(): adjust init sequence (SStatus > should be checked only after all writes to SControl) and > return success/failure to ide_preinit(). > > Also, as some tests showed init durations in the hundreds > of us, raise the time-out to 01 ms to be on the safe side. > > Signed-off-by: Albert Aribaud <albert.arib...@free.fr> > --- > PATCH HISTORY > > V1 Initial patch. > V2 Fixed wrong placement of comment. > Fixed wrong description (was 01 ms, should have been 10). > Added Signed-off-by. > V3 Replaced return status values with symbolic names. > Made error status values negative. > Renamed 'tout' to 'timeleft' for clarity. > Replaced ternary '?:' operator with '!' and if. > > Patch was run through checkscript.pl with 0 errors and warnings. > > drivers/block/mvsata_ide.c | 42 > +++++++++++++++++++++++++++++++++--------- > 1 files changed, 33 insertions(+), 9 deletions(-) >
Applied to u-boot-marvell.git master branch Regards. Prafulla . . _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot