[U-Boot] bootcounter_ram: Flush dcache after data is written into SDRAM

Tom Rini trini at konsulko.com
Tue Apr 12 04:30:14 CEST 2016


On Wed, Apr 06, 2016 at 11:02:22AM +0200, Stefan Roese wrote:

> This patch adds a call to flush_dcache_range() to bootcount_store() to
> make sure, that the bootcounter data (including the patterns) is
> written to memory. Without this, platforms with dcache enabled may not
> have the bootcounter updated upon reset.
> 
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Valentin Longchamp <valentin.longchamp at keymile.com>

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: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160411/64a73b85/attachment.sig>


More information about the U-Boot mailing list