From: Alif Zakuan Yuslaimi <[email protected]>

Set the DTB filename in fdt_0_blob node and remove kernel node from binman
node for non-secure boot scenarios.

Signed-off-by: Alif Zakuan Yuslaimi <[email protected]>
Signed-off-by: Boon Khai Ng <[email protected]>
---
 arch/arm/dts/socfpga_agilex5_socdk-u-boot.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/dts/socfpga_agilex5_socdk-u-boot.dtsi 
b/arch/arm/dts/socfpga_agilex5_socdk-u-boot.dtsi
index c03f78b2fdf..b4b8f54b969 100644
--- a/arch/arm/dts/socfpga_agilex5_socdk-u-boot.dtsi
+++ b/arch/arm/dts/socfpga_agilex5_socdk-u-boot.dtsi
@@ -217,3 +217,13 @@
                };
        };
 };
+
+#if !defined(CONFIG_SOCFPGA_SECURE_VAB_AUTH)
+&fdt_0_blob {
+       filename = "arch/arm/dts/socfpga_agilex5_socdk.dtb";
+};
+
+&binman {
+       /delete-node/ kernel;
+};
+#endif
-- 
2.43.7

Reply via email to