[PATCH 10/10] rockchip: Add LZMA compressed uboot raw binary to FIT image

Manoj Sai abbaraju.manojsai at amarulasolutions.com
Fri Jun 30 14:11:46 CEST 2023


Add LZMA compressed  uboot raw binary to FIT image.

Signed-off-by: Manoj Sai <abbaraju.manojsai at amarulasolutions.com>
Signed-off-by: Suniel Mahesh <sunil at amarulasolutions.com>
---
 arch/arm/dts/rockchip-u-boot.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/dts/rockchip-u-boot.dtsi b/arch/arm/dts/rockchip-u-boot.dtsi
index 6e95738923..f8a6179c04 100644
--- a/arch/arm/dts/rockchip-u-boot.dtsi
+++ b/arch/arm/dts/rockchip-u-boot.dtsi
@@ -50,6 +50,8 @@
 					arch = "arm64";
 #if defined(CONFIG_SPL_GZIP)
 					compression = "gzip";
+#elif defined(CONFIG_SPL_LZMA)
+					compression = "lzma";
 #else
 					compression = "none";
 #endif
@@ -58,6 +60,9 @@
 #if defined(CONFIG_SPL_GZIP)
 					u-boot-nodtb-gzip {
 					};
+#elif defined(CONFIG_SPL_LZMA)
+					u-boot-nodtb-lzma {
+					};
 #else
 					u-boot-nodtb {
 					};
-- 
2.25.1



More information about the U-Boot mailing list