diff options
| author | Philipp Tomsich <[email protected]> | 2018-12-14 21:14:29 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-01-14 17:41:23 -0500 |
| commit | 6f2d59cb7f16bf5bc169c87fe87de402d9fb8bf8 (patch) | |
| tree | c7d8aa9bf4a212aa8bf94803e3ab40268b3a405e /arch | |
| parent | d3689267f92c5956e09cc7d1baa4700141662bff (diff) | |
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/sandbox/dts/test.dts | 6 |
1 files changed, 6 insertions, 0 deletions
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>; |
