From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 11 Mar 2015 10:39:12 -0400 Subject: [U-Boot] [PATCH] bootcount: Add dcache flush to bootcount_store() In-Reply-To: <1426063900-7267-2-git-send-email-sr@denx.de> References: <1426063900-7267-1-git-send-email-sr@denx.de> <1426063900-7267-2-git-send-email-sr@denx.de> Message-ID: <20150311143912.GN32541@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 Wed, Mar 11, 2015 at 09:51:38AM +0100, Stefan Roese wrote: > Without this dcache_flush the updated bootcounter may not be saved to > its location. > > This was detected on an iMX.6 platform using the OCRAM (internal SRAM) > as bootcounter storage area. And issuing "reset" from within U-Boot > cause the bootcounter to stay on its initial value. > > Signed-off-by: Stefan Roese Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: