Re: [PATCH v2 2/4] rockchip: Add support to generate LZMA compressed U-boot binary

2023-07-28 Thread Kever Yang



On 2023/7/25 11:50, Manoj Sai wrote:

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 

Reviewed-by: Kever Yang 

Thanks,
- Kever

---
  arch/arm/dts/rockchip-u-boot.dtsi | 4 
  1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/rockchip-u-boot.dtsi 
b/arch/arm/dts/rockchip-u-boot.dtsi
index 524d638e5b..34282bdfb2 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,8 @@
u-boot-nodtb {
  #if defined(CONFIG_SPL_GZIP)
compress = "gzip";
+#elif defined(CONFIG_SPL_LZMA)
+   compress = "lzma";
  #endif
};
  #ifdef CONFIG_SPL_FIT_SIGNATURE


Re: [PATCH v2 2/4] rockchip: Add support to generate LZMA compressed U-boot binary

2023-07-26 Thread Simon Glass
On Mon, 24 Jul 2023 at 21:51, Manoj Sai
 wrote:
>
> 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 
> ---
>  arch/arm/dts/rockchip-u-boot.dtsi | 4 
>  1 file changed, 4 insertions(+)

Reviewed-by: Simon Glass 


[PATCH v2 2/4] rockchip: Add support to generate LZMA compressed U-boot binary

2023-07-25 Thread Manoj Sai
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 
---
 arch/arm/dts/rockchip-u-boot.dtsi | 4 
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/rockchip-u-boot.dtsi 
b/arch/arm/dts/rockchip-u-boot.dtsi
index 524d638e5b..34282bdfb2 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,8 @@
u-boot-nodtb {
 #if defined(CONFIG_SPL_GZIP)
compress = "gzip";
+#elif defined(CONFIG_SPL_LZMA)
+   compress = "lzma";
 #endif
};
 #ifdef CONFIG_SPL_FIT_SIGNATURE
-- 
2.25.1