[U-Boot] [PATCH] test: bootcount: add bootcount-uclass test

Simon Glass sjg at chromium.org
Sat Jan 5 01:56:42 UTC 2019


On Fri, 14 Dec 2018 at 13:14, Philipp Tomsich
<philipp.tomsich at theobroma-systems.com> wrote:
>
> 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 at theobroma-systems.com>
> ---
>
>  arch/sandbox/dts/test.dts |  6 ++++++
>  configs/sandbox_defconfig | 11 +++++++----
>  test/dm/Makefile          |  1 +
>  test/dm/bootcount.c       | 30 ++++++++++++++++++++++++++++++
>  4 files changed, 44 insertions(+), 4 deletions(-)
>  create mode 100644 test/dm/bootcount.c

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list