[U-Boot] [PATCH 14/18] dm: test: Add a test for the system controller uclass

Simon Glass sjg at chromium.org
Sat Jul 18 01:58:57 CEST 2015


On 6 July 2015 at 12:54, Simon Glass <sjg at chromium.org> wrote:
> Add a test to confirm that we can access system controllers and find their
> driver data.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  arch/sandbox/dts/test.dts       | 10 ++++++++++
>  arch/sandbox/include/asm/test.h |  8 ++++++++
>  configs/sandbox_defconfig       |  1 +
>  drivers/misc/Makefile           |  1 +
>  drivers/misc/syscon_sandbox.c   | 27 +++++++++++++++++++++++++++
>  test/dm/Makefile                |  1 +
>  test/dm/syscon.c                | 31 +++++++++++++++++++++++++++++++
>  7 files changed, 79 insertions(+)
>  create mode 100644 drivers/misc/syscon_sandbox.c
>  create mode 100644 test/dm/syscon.c
>

Applied to u-boot-dm.


More information about the U-Boot mailing list