[U-Boot] [PATCH 2/2] reset: implement a reset test
Simon Glass
sjg at chromium.org
Tue May 17 23:56:51 CEST 2016
Hi Stephen,
On 17 May 2016 at 10:46, 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>
> ---
> 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
Apart from struct reset_ctl this looks fine.
Regards,
Simon
More information about the U-Boot
mailing list