mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
committed by
Tom Rini
parent
d3689267f9
commit
6f2d59cb7f
@@ -315,6 +315,12 @@
|
||||
};
|
||||
};
|
||||
|
||||
bootcount@0 {
|
||||
compatible = "u-boot,bootcount-rtc";
|
||||
rtc = <&rtc_1>;
|
||||
offset = <0x13>;
|
||||
};
|
||||
|
||||
adc@0 {
|
||||
compatible = "sandbox,adc";
|
||||
vdd-supply = <&buck2>;
|
||||
|
Reference in New Issue
Block a user