diff options
| author | Manoj Sai <[email protected]> | 2023-09-18 00:56:27 +0530 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2023-10-07 16:49:41 +0800 |
| commit | 439bd73336fea8df602cedf303140227faa3e2c6 (patch) | |
| tree | a6a320a86e51b26b47f7a4208e484ff1a92e479a | |
| parent | a1b7fd7f0af2bf342ec4899be3dda72e02d29c1e (diff) | |
rockchip: Add support to generate GZIP compressed U-boot binary
Add support for generating a GZIP-compressed U-boot binary with the
help of binman, if CONFIG_SPL_GZIP is selected.
Signed-off-by: Manoj Sai <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
| -rw-r--r-- | arch/arm/dts/rockchip-u-boot.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/dts/rockchip-u-boot.dtsi b/arch/arm/dts/rockchip-u-boot.dtsi index be2658e8ef1..8f248f941f9 100644 --- a/arch/arm/dts/rockchip-u-boot.dtsi +++ b/arch/arm/dts/rockchip-u-boot.dtsi @@ -56,10 +56,17 @@ #else arch = "arm"; #endif +#if defined(CONFIG_SPL_GZIP) + compression = "gzip"; +#else compression = "none"; +#endif load = <CONFIG_TEXT_BASE>; entry = <CONFIG_TEXT_BASE>; u-boot-nodtb { +#if defined(CONFIG_SPL_GZIP) + compress = "gzip"; +#endif }; #ifdef CONFIG_SPL_FIT_SIGNATURE hash { |
