Searched hist:"20 adda4cf8980a9df1d966bd7bec918ac3e4e5d6" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/bootcount/ |
| H A D | bootcount_ram.c | 20adda4cf8980a9df1d966bd7bec918ac3e4e5d6 Wed Apr 06 09:02:22 UTC 2016 Stefan Roese <sr@denx.de> 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>
|