[PATCH 3/3] pbl: add COMPILE_TEST prompt for PBL_VERIFY_PIGGY

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Jan 15 09:01:10 PST 2024


PBL_VERIFY_PIGGY is selected by boards that require verification of
barebox proper, e.g. when secure booting. The option can also be useful
during debugging, just to verify that barebox proper was not corrupted,
therefore add a prompt when CONFIG_COMPILE_TEST=y.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 pbl/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pbl/Kconfig b/pbl/Kconfig
index 91970c19bc1e..f94791ff8a49 100644
--- a/pbl/Kconfig
+++ b/pbl/Kconfig
@@ -48,7 +48,7 @@ config PBL_RELOCATABLE
 
 config PBL_VERIFY_PIGGY
 	depends on ARM
-	bool
+	bool "Verify barebox proper hash before decompression" if COMPILE_TEST 
 
 config BOARD_GENERIC_DT
 	bool
-- 
2.39.2




More information about the barebox mailing list