From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Gehrlein Date: Mon, 07 Jul 2008 17:24:31 +0200 Subject: [U-Boot-Users] [PATCH 01/10] [ARM] MXC: insert bus busy check in i2c_probe In-Reply-To: <20080707145519.0A26124304@gemini.denx.de> References: <20080707145519.0A26124304@gemini.denx.de> Message-ID: <4872352F.5030205@tqs.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk schrieb: > In message <48720A3C.4040206@tqs.de> you wrote: >> You are right. 100 ms is too high, although it should be irrelevant for >> a U-Boot command. Measurement showed, that some 100 microseconds would >> be enough. Do you agree if I set the timeout value to 1 ms? Other proposals? > > Never say 100 ms is irrelevant for U-Boot. It's 100 ms of total boot > time that you burn for nothing. If it was relevant for booting, you would be right. But this routine isn't executed at boot time. It's called by the iprobe command invoked by the user on the command line. As I proposed, 1 ms should be sufficient. Kind regards, Jens