From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 30 Aug 2014 11:13:11 -0400 Subject: [U-Boot] [U-Boot,1/3] arm: pxa: use common timer functions In-Reply-To: <1407853561-23688-2-git-send-email-andrew.ruder@elecsyscorp.com> References: <1407853561-23688-2-git-send-email-andrew.ruder@elecsyscorp.com> Message-ID: <20140830151311.GW19374@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Aug 12, 2014 at 09:25:59AM -0500, Andrew Ruder wrote: > From: Andrew Ruder > > 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 > Acked-by: Marek Vasut As it stands today this breaks building a number of PXA boards so it needs to be picked up and re-worked / build tested, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: