bootcounter: add DM support for memory based bootcounter
authorHeiko Schocher <hs@denx.de>
Mon, 2 Mar 2020 14:43:59 +0000 (15:43 +0100)
committerHeiko Schocher <hs@denx.de>
Mon, 16 Mar 2020 07:05:00 +0000 (08:05 +0100)
commit80e8b8add057d2c947394d9d57fc2dcc7ff886d1
tree4fbddbddec49d22c714965af6c0ff6ec36ed435f
parent27d483bfa34c1695c2be230efc50c52d5a3d04e2
bootcounter: add DM support for memory based bootcounter

add DM/DTS support for the memory based bootcounter
in drivers/bootcount/bootcount.c.

Let the old implementation in, so boards which have
not yet convert to DM/DTS do not break.

Signed-off-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
doc/device-tree-bindings/misc/bootcounter.txt [new file with mode: 0644]
drivers/bootcount/Kconfig
drivers/bootcount/Makefile
drivers/bootcount/bootcount.c