[PATCH v2 2/2] test: reset: Add tests for the managed API

Simon Glass sjg at chromium.org
Wed Jun 17 05:12:15 CEST 2020


On Fri, 12 Jun 2020 at 06:08, Pratyush Yadav <p.yadav at ti.com> wrote:
>
> From: Jean-Jacques Hiblot <jjhiblot at ti.com>
>
> The tests are basically the same as for the regular API. Except that
> the reset are initialized using the managed API, and no freed manually.
>
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
> Signed-off-by: Pratyush Yadav <p.yadav at ti.com>
> ---
>  arch/sandbox/include/asm/reset.h   |  3 ++
>  drivers/reset/sandbox-reset-test.c | 51 ++++++++++++++++++++++---
>  drivers/reset/sandbox-reset.c      | 19 ++++++++++
>  test/dm/reset.c                    | 60 ++++++++++++++++++++++++++++++
>  4 files changed, 127 insertions(+), 6 deletions(-)
>

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


More information about the U-Boot mailing list