sandbox: add test of CONFIG_ENV_IMPORT_FDT
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Wed, 21 Apr 2021 09:06:55 +0000 (11:06 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 4 May 2021 16:52:30 +0000 (12:52 -0400)
commit8c72842af5f81826b344c26b1c28c3122edb909e
tree6eaec32dae7d390e74cdfc15b89249f441278db7
parent95fd9772011f29fad2c40fbc3060b5dac042152c
sandbox: add test of CONFIG_ENV_IMPORT_FDT

Check that a variable defined in /config/environment is found in the
run-time environment, and that clearing fdt_env_path from within that
node works.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
[trini: Conditionalize the test being linked in]
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/sandbox/dts/test.dts
configs/sandbox64_defconfig
configs/sandbox_defconfig
test/env/Makefile
test/env/fdt.c [new file with mode: 0644]