summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJonas Karlman <jonas@kwiboo.se>2023-01-21 22:01:59 +0300
committerSimon Glass <sjg@chromium.org>2023-01-26 20:47:45 +0300
commit99e3a2cd4e74b8d6fd7cca3d3dc8e106170ac532 (patch)
tree0281dde8c99550ca80745383d9a66827547004bb /arch
parent00b3d53f156927427b2bec95604acb6f6190c134 (diff)
downloadu-boot-99e3a2cd4e74b8d6fd7cca3d3dc8e106170ac532.tar.xz
rockchip: Add sha256 hash to FIT images
Add sha256 hash to FIT images when CONFIG_SPL_FIT_SIGNATURE=y. Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/rockchip-u-boot.dtsi20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/dts/rockchip-u-boot.dtsi b/arch/arm/dts/rockchip-u-boot.dtsi
index 63c8da456b..e35902bb63 100644
--- a/arch/arm/dts/rockchip-u-boot.dtsi
+++ b/arch/arm/dts/rockchip-u-boot.dtsi
@@ -50,6 +50,11 @@
entry = <CONFIG_TEXT_BASE>;
u-boot-nodtb {
};
+#ifdef CONFIG_SPL_FIT_SIGNATURE
+ hash {
+ algo = "sha256";
+ };
+#endif
};
@atf-SEQ {
@@ -65,6 +70,11 @@
atf-bl31 {
};
+#ifdef CONFIG_SPL_FIT_SIGNATURE
+ hash {
+ algo = "sha256";
+ };
+#endif
};
@tee-SEQ {
fit,operation = "split-elf";
@@ -80,12 +90,22 @@
tee-os {
optional;
};
+#ifdef CONFIG_SPL_FIT_SIGNATURE
+ hash {
+ algo = "sha256";
+ };
+#endif
};
@fdt-SEQ {
description = "fdt-NAME";
compression = "none";
type = "flat_dt";
+#ifdef CONFIG_SPL_FIT_SIGNATURE
+ hash {
+ algo = "sha256";
+ };
+#endif
};
};