diff options
author | Stefan Roese <sr@denx.de> | 2016-04-06 11:02:22 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-04-11 20:48:25 -0400 |
commit | 20adda4cf8980a9df1d966bd7bec918ac3e4e5d6 (patch) | |
tree | 056c13df1fc936ef62b39c1fab6dc3ca77404b48 /lib | |
parent | d9b2678e0a5e5781b37487ccb943ddcbf0623bb0 (diff) | |
download | u-boot-20adda4cf8980a9df1d966bd7bec918ac3e4e5d6.tar.gz |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions