commit | 8d2fe90bf2a7174d92213df8b0ce20eeed5eb965 | [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 | 30218147e1976fd592a06c874a36d117728f3d48 [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>