[U-Boot] [PATCH v2 9/9] tests: Introduce DT overlay tests
Simon Glass
sjg at chromium.org
Fri Jun 10 02:34:50 CEST 2016
On 27 May 2016 at 03:13, Maxime Ripard <maxime.ripard at free-electrons.com> wrote:
> This adds a bunch of unit tests for the "fdt apply" command.
>
> They've all been run successfully in the sandbox. However, as you still
> require an out-of-tree dtc with overlay support, this is disabled by
> default.
>
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> ---
> Makefile | 1 +
> include/test/overlay.h | 16 ++++
> include/test/suites.h | 1 +
> test/Kconfig | 1 +
> test/cmd_ut.c | 6 ++
> test/overlay/Kconfig | 10 +++
> test/overlay/Makefile | 15 ++++
> test/overlay/cmd_ut_overlay.c | 176 ++++++++++++++++++++++++++++++++++++++
> test/overlay/test-fdt-base.dts | 17 ++++
> test/overlay/test-fdt-overlay.dts | 60 +++++++++++++
> 10 files changed, 303 insertions(+)
> create mode 100644 include/test/overlay.h
> create mode 100644 test/overlay/Kconfig
> create mode 100644 test/overlay/Makefile
> create mode 100644 test/overlay/cmd_ut_overlay.c
> create mode 100644 test/overlay/test-fdt-base.dts
> create mode 100644 test/overlay/test-fdt-overlay.dts
Acked-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list