From 6f2d59cb7f16bf5bc169c87fe87de402d9fb8bf8 Mon Sep 17 00:00:00 2001 From: Philipp Tomsich Date: Fri, 14 Dec 2018 21:14:29 +0100 Subject: 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 Reviewed-by: Simon Glass --- arch/sandbox/dts/test.dts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arch') diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 3790b4c5208..1d011ded7cc 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -315,6 +315,12 @@ }; }; + bootcount@0 { + compatible = "u-boot,bootcount-rtc"; + rtc = <&rtc_1>; + offset = <0x13>; + }; + adc@0 { compatible = "sandbox,adc"; vdd-supply = <&buck2>; -- cgit v1.3.1