[U-Boot] [PATCH 2/2] reset: implement a reset test

Simon Glass sjg at chromium.org
Wed Jun 8 04:43:36 CEST 2016


On 17 May 2016 at 14:56, Simon Glass <sjg at chromium.org> wrote:
> 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.

Based on the discussion on the other thread I am happy with this too.

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


More information about the U-Boot mailing list