[PATCH 08/10] rockchip: Add GZIP compressed uboot raw binary to FIT image
Manoj Sai
abbaraju.manojsai at amarulasolutions.com
Fri Jun 30 14:11:44 CEST 2023
Add GZIP 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 | 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
More information about the U-Boot
mailing list