From: Wolfgang Denk Date: Fri, 12 Dec 2008 00:53:00 +0100 Subject: [U-Boot] [PATCH] SATA: do not auto-initialize during boot In-Reply-To: <200812111556.23044.vapier@gentoo.org> References: <20081211101257.29464834B020@gemini.denx.de> <200812111503.54148.vapier@gentoo.org> <3B24DCFA-1309-4B92-A4AE-D9943D33269B@kernel.crashing.org> <200812111556.23044.vapier@gentoo.org> Message-ID: <20081211235300.9C634808F6AD@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, In message <200812111556.23044.vapier@gentoo.org> you wrote: > > > Also, in the code you removed we do a runtime check on 8536 to see if > > SATA is even available. That check is still valid. > > why ? if the hardware doesnt support it, then the user shouldnt be attempting > to use it. if they do, that's their fault for doing something stupid. And if they do, the code should fail gracefully, i. e. print some friendly error message like that S-ATA is not available. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de 2000 pounds of chinese soup = 1 Won Ton