[PATCH] imxtract: specify max gunzip size

Nikita Shubin nikita.shubin at maquefel.me
Fri Dec 16 08:03:39 CET 2022


From: Nikita Shubin <n.shubin at yadro.com>

Specify max gunzip size from config to override SYS_XIMG_LEN
default value wich is 0x800000.

Signed-off-by: Nikita Shubin <n.shubin at yadro.com>
---
 cmd/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index d93731f2af6..06e200802d1 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -481,6 +481,13 @@ config CMD_XXD
 	help
 	  Print file as hexdump to standard output
 
+config SYS_XIMG_LEN
+	hex "imxtract max gunzip size"
+	default 0x800000
+	depends on CMD_XIMG
+	help
+	  Specify max gunzip size for imxtract tool.
+
 config CMD_SPL
 	bool "spl export - Export boot information for Falcon boot"
 	depends on SPL
-- 
2.37.4



More information about the U-Boot mailing list