diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2018-12-14 21:14:29 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-01-14 17:41:23 -0500 |
commit | 6f2d59cb7f16bf5bc169c87fe87de402d9fb8bf8 (patch) | |
tree | c7d8aa9bf4a212aa8bf94803e3ab40268b3a405e /arch/sandbox/dts | |
parent | d3689267f92c5956e09cc7d1baa4700141662bff (diff) | |
download | u-boot-6f2d59cb7f16bf5bc169c87fe87de402d9fb8bf8.tar.gz u-boot-6f2d59cb7f16bf5bc169c87fe87de402d9fb8bf8.tar.xz u-boot-6f2d59cb7f16bf5bc169c87fe87de402d9fb8bf8.zip |
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>
Diffstat (limited to 'arch/sandbox/dts')
-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 3790b4c520..1d011ded7c 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>; |