test: bootcount: add bootcount-uclass test
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 14 Dec 2018 20:14:29 +0000 (21:14 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 14 Jan 2019 22:41:23 +0000 (17:41 -0500)
commit6f2d59cb7f16bf5bc169c87fe87de402d9fb8bf8
treec7d8aa9bf4a212aa8bf94803e3ab40268b3a405e
parentd3689267f92c5956e09cc7d1baa4700141662bff
test: bootcount: add bootcount-uclass test

Add a test for the bootcount uclass, which uses the RTC bootcount backend
(i.e. drivers/bootcount/rtc.c is implictly also tested).

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
configs/sandbox_defconfig
test/dm/Makefile
test/dm/bootcount.c [new file with mode: 0644]