[U-Boot] [PATCH V2 4/5] reset: implement a reset test

Simon Glass sjg at chromium.org
Sun Jun 19 23:05:59 CEST 2016


On 17 June 2016 at 09:43, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Stephen Warren <swarren at nvidia.com>
>
> This adds a sandbox reset implementation (provider), a test client
> device, instantiates them both from Sandbox's DT, and adds a DM test
> that excercises everything.
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> Acked-by: Simon Glass <sjg at chromium.org>
> ---
> v2: Renamed header files.
> ---
>  arch/sandbox/dts/test.dts          |  11 ++++
>  arch/sandbox/include/asm/reset.h   |  21 ++++++++
>  configs/sandbox_defconfig          |   2 +
>  drivers/reset/Kconfig              |   8 +++
>  drivers/reset/Makefile             |   2 +
>  drivers/reset/sandbox-reset-test.c |  55 +++++++++++++++++++
>  drivers/reset/sandbox-reset.c      | 108 +++++++++++++++++++++++++++++++++++++
>  test/dm/Makefile                   |   1 +
>  test/dm/reset.c                    |  39 ++++++++++++++
>  9 files changed, 247 insertions(+)
>  create mode 100644 arch/sandbox/include/asm/reset.h
>  create mode 100644 drivers/reset/sandbox-reset-test.c
>  create mode 100644 drivers/reset/sandbox-reset.c
>  create mode 100644 test/dm/reset.c

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list