]> git.baikalelectronics.ru Git - uboot.git/commit
bootcount: flush after storing the bootcounter
authorStefano Babic <sbabic@denx.de>
Thu, 22 Feb 2018 11:30:41 +0000 (12:30 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 23 Jul 2018 07:55:20 +0000 (09:55 +0200)
commitb67492fa7e3ae33b73d345439dec8a6f860e563e
tree7f0b74ce98fe5f461208e0a1d314d14d8cab8304
parentcf14731388711f910dbff63451550d9d0a4f6359
bootcount: flush after storing the bootcounter

If the bootcounter address is in a cached memory,
a flush of dcache must occur after updateing the bootcounter.

Issue found on i.MX6 where bootcounter is put into the internal
(cached) IRAM.

Signed-off-by: Stefano Babic <sbabic@denx.de>
drivers/bootcount/bootcount.c