From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Heider Date: Mon, 16 Dec 2013 08:59:30 +0100 Subject: [U-Boot] [PATCH] ARM: bcm2835: fix mailbox timeout In-Reply-To: <1386992926-17895-1-git-send-email-swarren@wwwdotorg.org> References: <1386992926-17895-1-git-send-email-swarren@wwwdotorg.org> Message-ID: <20131216075930.GA7085@localhost> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Dec 13, 2013 at 08:48:46PM -0700, Stephen Warren wrote: > My original intention was to have a 100ms timeout. However, the timer > operations used return values in ms not us, so we ended up with a 100s > timeout instead. Fixing this exposes that some operations need longer > to operate than 100ms, so bump the timeout up to a whole second. > > Reported-by: Andre Heider > Signed-off-by: Stephen Warren Reviewed-by: Andre Heider Btw, the "get timing" mbox call I mentioned the other day is not what I thought it is. I tried it and it doesn't describe how long the "power on" call would take. I get "1" for every device except UART, for which 40000 was returned iirc. Thanks, Andre