aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoj Sai <abbaraju.manojsai@amarulasolutions.com>2023-09-18 00:56:28 +0530
committerKever Yang <kever.yang@rock-chips.com>2023-10-07 16:49:41 +0800
commit42a956e9d69f801d9d3ea86f2eb4cc00a26112f7 (patch)
tree1f185815d7fd615e945dfd7fcd108c2ba82e0d78
parent439bd73336fea8df602cedf303140227faa3e2c6 (diff)
rockchip: Add support to generate LZMA compressed U-boot binary
Add support for generating a LZMA-compressed U-boot binary with the help of binman, if CONFIG_SPL_LZMA is selected. Signed-off-by: Manoj Sai <abbaraju.manojsai@amarulasolutions.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
-rw-r--r--arch/arm/dts/rockchip-u-boot.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/dts/rockchip-u-boot.dtsi b/arch/arm/dts/rockchip-u-boot.dtsi
index 8f248f941f..c8c928c7e5 100644
--- a/arch/arm/dts/rockchip-u-boot.dtsi
+++ b/arch/arm/dts/rockchip-u-boot.dtsi
@@ -58,6 +58,8 @@
#endif
#if defined(CONFIG_SPL_GZIP)
compression = "gzip";
+#elif defined(CONFIG_SPL_LZMA)
+ compression = "lzma";
#else
compression = "none";
#endif
@@ -66,6 +68,8 @@
u-boot-nodtb {
#if defined(CONFIG_SPL_GZIP)
compress = "gzip";
+#elif defined(CONFIG_SPL_LZMA)
+ compress = "lzma";
#endif
};
#ifdef CONFIG_SPL_FIT_SIGNATURE