[U-Boot] [PATCH] bootcount: Add dcache flush to bootcount_store()

Tom Rini trini at konsulko.com
Wed Mar 11 15:39:12 CET 2015


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 <sr at denx.de>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150311/0722137a/attachment.sig>


More information about the U-Boot mailing list