From: Tom Rini Date: Mon, 12 Jun 2017 18:44:07 -0400 Subject: [U-Boot] ARM: remove bogus cp_delay() function In-Reply-To: <1496908121-15028-1-git-send-email-LW@KARO-electronics.de> References: <1496908121-15028-1-git-send-email-LW@KARO-electronics.de> Message-ID: <20170612224407.GZ10782@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On Thu, Jun 08, 2017 at 09:48:41AM +0200, Lothar Waßmann wrote: > The cp_delay() function was introduced because of a missing 'volatile' > attribute to the 'asm' statement in get_cr() which led to the 'mrc' > instruction in get_cr() being optimised out eventually. > This has been fixed in commit 53fd4b8c22bb ("arm: mmu: Add missing volatile for reading SCTLR register") > but the bogus cp_delay() function which was introduced as a workaround > for the malfunctioning get_cr() was never removed. > > Signed-off-by: Lothar Waßmann Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: