From: Prasanth Babu Mantena <[email protected]>

With updated TIFS version tag v11.02.06, the background firewall
for DDR firewalls are applied by the TIFS. This removes the
dependency of applying firewalls through binman.

Remove background firewall on the whole DDR, as this
background firewall is applied by the TIFS init for j7200
and j784s4. Modify for j7200 only, as there are no firewalls applied
for j784s4 from SPL.

Removing the firewalls only when CONFIG_K3_LPM is set preserve
compatibility with older TIFS.

Signed-off-by: Prasanth Babu Mantena <[email protected]>
Co-developed-by: Richard Genoud (TI) <[email protected]>
Signed-off-by: Richard Genoud (TI) <[email protected]>
---
 arch/arm/dts/k3-j7200-binman.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/k3-j7200-binman.dtsi 
b/arch/arm/dts/k3-j7200-binman.dtsi
index b4e0ce8bfcf2..0840e9710a8a 100644
--- a/arch/arm/dts/k3-j7200-binman.dtsi
+++ b/arch/arm/dts/k3-j7200-binman.dtsi
@@ -294,12 +294,14 @@
                                                        region = <2>;
                                                };
 
+#ifndef CONFIG_K3_LPM
                                                firewall-4762-0 {
                                                        /* nb_slv2__mem0 
Background Firewall - 0 */
                                                        insert-template = 
<&firewall_bg_3>;
                                                        id = <4762>;
                                                        region = <0>;
                                                };
+#endif
 
                                                firewall-4762-1 {
                                                        /* nb_slv2__mem0 
Foreground Firewall */
@@ -308,12 +310,14 @@
                                                        region = <1>;
                                                };
 
+#ifndef CONFIG_K3_LPM
                                                firewall-4763-0 {
                                                        /* nb_slv3__mem0 
Background Firewall - 0 */
                                                        insert-template = 
<&firewall_bg_3>;
                                                        id = <4763>;
                                                        region = <0>;
                                                };
+#endif
 
                                                firewall-4763-1 {
                                                        /* nb_slv3__mem0 
Foreground Firewall */
-- 
2.55.0

Reply via email to