Add LZMA compressed  uboot raw binary to FIT image.

Signed-off-by: Manoj Sai <abbaraju.manoj...@amarulasolutions.com>
Signed-off-by: Suniel Mahesh <su...@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

Reply via email to