fdtdec: Add Kconfig symbol for tests
authorThierry Reding <treding@nvidia.com>
Thu, 21 Mar 2019 18:10:04 +0000 (19:10 +0100)
committerSimon Glass <sjg@chromium.org>
Fri, 12 Apr 2019 02:10:50 +0000 (20:10 -0600)
Runtime tests are provided as a test_fdtdec command implementation. Add
a Kconfig symbol that allows this command to be built so that the tests
can be used.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/Kconfig

index 8fe5d85a050643c512963402ac566d2ad9801848..2120216593eec74b3f462e3a83dbb7cbbc8b06ad 100644 (file)
@@ -436,4 +436,8 @@ source lib/efi/Kconfig
 source lib/efi_loader/Kconfig
 source lib/optee/Kconfig
 
+config TEST_FDTDEC
+       bool "enable fdtdec test"
+       depends on OF_LIBFDT
+
 endmenu