Add GZIP 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 | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/arch/arm/dts/rockchip-u-boot.dtsi b/arch/arm/dts/rockchip-u-boot.dtsi index 2878b80926..6e95738923 100644 --- a/arch/arm/dts/rockchip-u-boot.dtsi +++ b/arch/arm/dts/rockchip-u-boot.dtsi @@ -48,11 +48,21 @@ type = "standalone"; os = "U-Boot"; arch = "arm64"; +#if defined(CONFIG_SPL_GZIP) + compression = "gzip"; +#else compression = "none"; +#endif load = <CONFIG_TEXT_BASE>; entry = <CONFIG_TEXT_BASE>; +#if defined(CONFIG_SPL_GZIP) + u-boot-nodtb-gzip { + }; +#else u-boot-nodtb { }; +#endif + #ifdef CONFIG_SPL_FIT_SIGNATURE hash { algo = "sha256"; -- 2.25.1