commit | 20adda4cf8980a9df1d966bd7bec918ac3e4e5d6 | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Wed Apr 06 11:02:22 2016 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Apr 11 20:48:25 2016 -0400 |
tree | 056c13df1fc936ef62b39c1fab6dc3ca77404b48 | |
parent | d9b2678e0a5e5781b37487ccb943ddcbf0623bb0 [diff] |
bootcounter_ram: Flush dcache after data is written into SDRAM 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@denx.de> Cc: Valentin Longchamp <valentin.longchamp@keymile.com>