From: Tom Rini Date: Thu, 28 Feb 2019 18:56:06 -0500 Subject: [U-Boot] ARM: cache: Fix incorrect bitwise operation In-Reply-To: <20190219004351.791-1-marex@denx.de> References: <20190219004351.791-1-marex@denx.de> Message-ID: <20190228235606.GX12046@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, Feb 19, 2019 at 01:43:51AM +0100, Marek Vasut wrote: > The loop implemented in the code is supposed to check whether the > PL310 operation register has any bit from the mask set. Currently, > the code checks whether the PL310 operation register has any bit > set AND whether the mask is non-zero, which is incorrect. Fix the > conditional. > > Signed-off-by: Marek Vasut > Cc: Dalon Westergreen > Cc: Dinh Nguyen > Cc: Tom Rini > Fixes: 93bc21930a1b ("armv7: add PL310 support to u-boot") > Reviewed-by: Simon Goldschmidt > Reviewed-by: Dinh Nguyen Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: