[PATCH 07/17] test: Add SPL Kconfig for compression tests

Simon Glass sjg at chromium.org
Fri Sep 17 18:17:30 CEST 2021


At present we rely on this not existing to avoid building these tests for
SPL.

But with the new split configs this does not work. Add a separate Kconfig
instead.

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

 test/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/test/Kconfig b/test/Kconfig
index e15ba239eb3..52d85ca78a2 100644
--- a/test/Kconfig
+++ b/test/Kconfig
@@ -69,6 +69,11 @@ config UT_COMPRESSION
 	  Enables tests for compression and decompression routines for simple
 	  sanity and for buffer overflow conditions.
 
+config SPL_UT_COMPRESSION
+	def_bool n
+	help
+	  Dummy option to ensure that this feature is not enabled in SPL.
+
 config UT_LOG
 	bool "Unit tests for logging functions"
 	depends on UNIT_TEST
-- 
2.33.0.309.g3052b89438-goog



More information about the U-Boot mailing list