From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 10 Oct 2014 01:25:44 +0200 Subject: [U-Boot] [PATCH v2] arm: pxa: use common timer functions In-Reply-To: <1412895638-26325-1-git-send-email-andrew.ruder@elecsyscorp.com> References: <1412895638-26325-1-git-send-email-andrew.ruder@elecsyscorp.com> Message-ID: <201410100125.44214.marex@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 On Friday, October 10, 2014 at 01:00:38 AM, Andrew Ruder wrote: > This patch moves pxa to the common timer functions added in commit > > 8dfafdd - Introduce common timer functions > > The (removed) pxa timer code (specifically __udelay()) could deadlock at > the 32-bit boundary of get_ticks(). get_ticks() returned a 32-bit value > cast up to a 64-bit value. If get_ticks() + tmo in __udelay() crossed > the 32-bit boundary, the while condition became unconditionally true and > locked the processor. Rather than patch the specific pxa issues, simply > move everything over to the common code. > > Signed-off-by: Andrew Ruder > Cc: Marek Vasut > Cc: Tom Rini Reviewed-by: Marek Vasut Best regards, Marek Vasut