commit a7d5ed98 git:core branch:projects/t7 ddr:b6f7a21
Author: Tao Zeng <tao.zeng@amlogic.com>
Date:   Thu Sep 12 09:30:58 2024 +0800

    t7: NSV: add flow control for mmu/sram setup [1/1]

    PD#RSP-6665

    Problem:
    the pre_mmu_enable() and bl2_sram_security_setup() are not protected
    by the flow control and can be circumvented by performing a single
    glitch. It is recommended to apply flow control for improvement.

    Solution:
    add it

    Verify:
    t7

    Change-Id: Ib9ffebcf67aa84a24cae1851a06d81e3d9dc1f72
    Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
t7       build ok

Change-Id: I905d754eb85a6b26093a6eadccda8a52fea6164d
diff --git a/t7/a311d2/bb1st.sto.bin.signed b/t7/a311d2/bb1st.sto.bin.signed
index f158ae9..0166181 100644
--- a/t7/a311d2/bb1st.sto.bin.signed
+++ b/t7/a311d2/bb1st.sto.bin.signed
Binary files differ
diff --git a/t7/a311d2/bb1st.usb.bin.signed b/t7/a311d2/bb1st.usb.bin.signed
index db12fa2..d80f336 100644
--- a/t7/a311d2/bb1st.usb.bin.signed
+++ b/t7/a311d2/bb1st.usb.bin.signed
Binary files differ
diff --git a/t7/a311d2/ddr4/bb1st.sto.bin.bl2-only b/t7/a311d2/ddr4/bb1st.sto.bin.bl2-only
index a84871b..05b46c7 100644
--- a/t7/a311d2/ddr4/bb1st.sto.bin.bl2-only
+++ b/t7/a311d2/ddr4/bb1st.sto.bin.bl2-only
Binary files differ
diff --git a/t7/a311d2/ddr4/bb1st.sto.bin.signed b/t7/a311d2/ddr4/bb1st.sto.bin.signed
index 62e35a7..c8dd668 100755
--- a/t7/a311d2/ddr4/bb1st.sto.bin.signed
+++ b/t7/a311d2/ddr4/bb1st.sto.bin.signed
Binary files differ
diff --git a/t7/a311d2/ddr4/bb1st.usb.bin.bl2-only b/t7/a311d2/ddr4/bb1st.usb.bin.bl2-only
index 5d23ab2..0fb1aab 100644
--- a/t7/a311d2/ddr4/bb1st.usb.bin.bl2-only
+++ b/t7/a311d2/ddr4/bb1st.usb.bin.bl2-only
Binary files differ
diff --git a/t7/a311d2/ddr4/bb1st.usb.bin.signed b/t7/a311d2/ddr4/bb1st.usb.bin.signed
index 61006bc..94b9dbe 100755
--- a/t7/a311d2/ddr4/bb1st.usb.bin.signed
+++ b/t7/a311d2/ddr4/bb1st.usb.bin.signed
Binary files differ
diff --git a/t7/a311d2/lpddr4/bb1st.sto.bin.bl2-only b/t7/a311d2/lpddr4/bb1st.sto.bin.bl2-only
index d010206..b91597c 100644
--- a/t7/a311d2/lpddr4/bb1st.sto.bin.bl2-only
+++ b/t7/a311d2/lpddr4/bb1st.sto.bin.bl2-only
Binary files differ
diff --git a/t7/a311d2/lpddr4/bb1st.sto.bin.signed b/t7/a311d2/lpddr4/bb1st.sto.bin.signed
index cab9d38..8b75846 100755
--- a/t7/a311d2/lpddr4/bb1st.sto.bin.signed
+++ b/t7/a311d2/lpddr4/bb1st.sto.bin.signed
Binary files differ
diff --git a/t7/a311d2/lpddr4/bb1st.usb.bin.bl2-only b/t7/a311d2/lpddr4/bb1st.usb.bin.bl2-only
index 78c9d21..4c8ebc4 100644
--- a/t7/a311d2/lpddr4/bb1st.usb.bin.bl2-only
+++ b/t7/a311d2/lpddr4/bb1st.usb.bin.bl2-only
Binary files differ
diff --git a/t7/a311d2/lpddr4/bb1st.usb.bin.signed b/t7/a311d2/lpddr4/bb1st.usb.bin.signed
index d395c66..d7a7875 100755
--- a/t7/a311d2/lpddr4/bb1st.usb.bin.signed
+++ b/t7/a311d2/lpddr4/bb1st.usb.bin.signed
Binary files differ
diff --git a/t7/a311d2j/bb1st.sto.bin.signed b/t7/a311d2j/bb1st.sto.bin.signed
index 3ab8d83..0f706f3 100644
--- a/t7/a311d2j/bb1st.sto.bin.signed
+++ b/t7/a311d2j/bb1st.sto.bin.signed
Binary files differ
diff --git a/t7/a311d2j/bb1st.usb.bin.signed b/t7/a311d2j/bb1st.usb.bin.signed
index 81d06af..fb3f30f 100644
--- a/t7/a311d2j/bb1st.usb.bin.signed
+++ b/t7/a311d2j/bb1st.usb.bin.signed
Binary files differ
diff --git a/t7/a311d2j/ddr4/bb1st.sto.bin.bl2-only b/t7/a311d2j/ddr4/bb1st.sto.bin.bl2-only
index 65dc360..1874b08 100644
--- a/t7/a311d2j/ddr4/bb1st.sto.bin.bl2-only
+++ b/t7/a311d2j/ddr4/bb1st.sto.bin.bl2-only
Binary files differ
diff --git a/t7/a311d2j/ddr4/bb1st.sto.bin.signed b/t7/a311d2j/ddr4/bb1st.sto.bin.signed
index b57d060..294bd4f 100644
--- a/t7/a311d2j/ddr4/bb1st.sto.bin.signed
+++ b/t7/a311d2j/ddr4/bb1st.sto.bin.signed
Binary files differ
diff --git a/t7/a311d2j/ddr4/bb1st.usb.bin.bl2-only b/t7/a311d2j/ddr4/bb1st.usb.bin.bl2-only
index eb7e8f7..ae56b86 100644
--- a/t7/a311d2j/ddr4/bb1st.usb.bin.bl2-only
+++ b/t7/a311d2j/ddr4/bb1st.usb.bin.bl2-only
Binary files differ
diff --git a/t7/a311d2j/ddr4/bb1st.usb.bin.signed b/t7/a311d2j/ddr4/bb1st.usb.bin.signed
index 380c0c4..447655c 100644
--- a/t7/a311d2j/ddr4/bb1st.usb.bin.signed
+++ b/t7/a311d2j/ddr4/bb1st.usb.bin.signed
Binary files differ
diff --git a/t7/a311d2j/lpddr4/bb1st.sto.bin.bl2-only b/t7/a311d2j/lpddr4/bb1st.sto.bin.bl2-only
index 3e7cf66..853c1ca 100644
--- a/t7/a311d2j/lpddr4/bb1st.sto.bin.bl2-only
+++ b/t7/a311d2j/lpddr4/bb1st.sto.bin.bl2-only
Binary files differ
diff --git a/t7/a311d2j/lpddr4/bb1st.sto.bin.signed b/t7/a311d2j/lpddr4/bb1st.sto.bin.signed
index f26d845..1991112 100644
--- a/t7/a311d2j/lpddr4/bb1st.sto.bin.signed
+++ b/t7/a311d2j/lpddr4/bb1st.sto.bin.signed
Binary files differ
diff --git a/t7/a311d2j/lpddr4/bb1st.usb.bin.bl2-only b/t7/a311d2j/lpddr4/bb1st.usb.bin.bl2-only
index 6ccb2cb..8add609 100644
--- a/t7/a311d2j/lpddr4/bb1st.usb.bin.bl2-only
+++ b/t7/a311d2j/lpddr4/bb1st.usb.bin.bl2-only
Binary files differ
diff --git a/t7/a311d2j/lpddr4/bb1st.usb.bin.signed b/t7/a311d2j/lpddr4/bb1st.usb.bin.signed
index fc4b037..c3b0663 100644
--- a/t7/a311d2j/lpddr4/bb1st.usb.bin.signed
+++ b/t7/a311d2j/lpddr4/bb1st.usb.bin.signed
Binary files differ
diff --git a/t7/pop1/bb1st.sto.bin.signed b/t7/pop1/bb1st.sto.bin.signed
index 1c07ddb..24d00fc 100644
--- a/t7/pop1/bb1st.sto.bin.signed
+++ b/t7/pop1/bb1st.sto.bin.signed
Binary files differ
diff --git a/t7/pop1/bb1st.usb.bin.signed b/t7/pop1/bb1st.usb.bin.signed
index 7d7da98..f152cb7 100644
--- a/t7/pop1/bb1st.usb.bin.signed
+++ b/t7/pop1/bb1st.usb.bin.signed
Binary files differ
diff --git a/t7/pop1/ddr4/bb1st.sto.bin.bl2-only b/t7/pop1/ddr4/bb1st.sto.bin.bl2-only
index 006de9a..a5d6e21 100644
--- a/t7/pop1/ddr4/bb1st.sto.bin.bl2-only
+++ b/t7/pop1/ddr4/bb1st.sto.bin.bl2-only
Binary files differ
diff --git a/t7/pop1/ddr4/bb1st.sto.bin.signed b/t7/pop1/ddr4/bb1st.sto.bin.signed
index 210a4d5..4d74976 100755
--- a/t7/pop1/ddr4/bb1st.sto.bin.signed
+++ b/t7/pop1/ddr4/bb1st.sto.bin.signed
Binary files differ
diff --git a/t7/pop1/ddr4/bb1st.usb.bin.bl2-only b/t7/pop1/ddr4/bb1st.usb.bin.bl2-only
index e1945b7..e9e0e55 100644
--- a/t7/pop1/ddr4/bb1st.usb.bin.bl2-only
+++ b/t7/pop1/ddr4/bb1st.usb.bin.bl2-only
Binary files differ
diff --git a/t7/pop1/ddr4/bb1st.usb.bin.signed b/t7/pop1/ddr4/bb1st.usb.bin.signed
index 6e1ccc6..5f43a18 100755
--- a/t7/pop1/ddr4/bb1st.usb.bin.signed
+++ b/t7/pop1/ddr4/bb1st.usb.bin.signed
Binary files differ
diff --git a/t7/pop1/lpddr4/bb1st.sto.bin.bl2-only b/t7/pop1/lpddr4/bb1st.sto.bin.bl2-only
index 280a5c1..ae030d2 100644
--- a/t7/pop1/lpddr4/bb1st.sto.bin.bl2-only
+++ b/t7/pop1/lpddr4/bb1st.sto.bin.bl2-only
Binary files differ
diff --git a/t7/pop1/lpddr4/bb1st.sto.bin.signed b/t7/pop1/lpddr4/bb1st.sto.bin.signed
index b0fc988..de65c6d 100755
--- a/t7/pop1/lpddr4/bb1st.sto.bin.signed
+++ b/t7/pop1/lpddr4/bb1st.sto.bin.signed
Binary files differ
diff --git a/t7/pop1/lpddr4/bb1st.usb.bin.bl2-only b/t7/pop1/lpddr4/bb1st.usb.bin.bl2-only
index 637b79f..dc07d4d 100644
--- a/t7/pop1/lpddr4/bb1st.usb.bin.bl2-only
+++ b/t7/pop1/lpddr4/bb1st.usb.bin.bl2-only
Binary files differ
diff --git a/t7/pop1/lpddr4/bb1st.usb.bin.signed b/t7/pop1/lpddr4/bb1st.usb.bin.signed
index a327614..e3e02fd 100755
--- a/t7/pop1/lpddr4/bb1st.usb.bin.signed
+++ b/t7/pop1/lpddr4/bb1st.usb.bin.signed
Binary files differ
diff --git a/t7/v918d/bb1st.sto.bin.signed b/t7/v918d/bb1st.sto.bin.signed
index b7dd4fe..9fdd30a 100644
--- a/t7/v918d/bb1st.sto.bin.signed
+++ b/t7/v918d/bb1st.sto.bin.signed
Binary files differ
diff --git a/t7/v918d/bb1st.usb.bin.signed b/t7/v918d/bb1st.usb.bin.signed
index dad7326..a8f9a8a 100644
--- a/t7/v918d/bb1st.usb.bin.signed
+++ b/t7/v918d/bb1st.usb.bin.signed
Binary files differ
diff --git a/t7/v918d/ddr4/bb1st.sto.bin.bl2-only b/t7/v918d/ddr4/bb1st.sto.bin.bl2-only
index c2c18f4..96d9dbf 100644
--- a/t7/v918d/ddr4/bb1st.sto.bin.bl2-only
+++ b/t7/v918d/ddr4/bb1st.sto.bin.bl2-only
Binary files differ
diff --git a/t7/v918d/ddr4/bb1st.sto.bin.signed b/t7/v918d/ddr4/bb1st.sto.bin.signed
index 47b011f..f83b96f 100644
--- a/t7/v918d/ddr4/bb1st.sto.bin.signed
+++ b/t7/v918d/ddr4/bb1st.sto.bin.signed
Binary files differ
diff --git a/t7/v918d/ddr4/bb1st.usb.bin.bl2-only b/t7/v918d/ddr4/bb1st.usb.bin.bl2-only
index ead5e96..30e5433 100644
--- a/t7/v918d/ddr4/bb1st.usb.bin.bl2-only
+++ b/t7/v918d/ddr4/bb1st.usb.bin.bl2-only
Binary files differ
diff --git a/t7/v918d/ddr4/bb1st.usb.bin.signed b/t7/v918d/ddr4/bb1st.usb.bin.signed
index 695377a..0e2c84b 100644
--- a/t7/v918d/ddr4/bb1st.usb.bin.signed
+++ b/t7/v918d/ddr4/bb1st.usb.bin.signed
Binary files differ
diff --git a/t7/v918d/lpddr4/bb1st.sto.bin.bl2-only b/t7/v918d/lpddr4/bb1st.sto.bin.bl2-only
index 3cd2bb1..add86ff 100644
--- a/t7/v918d/lpddr4/bb1st.sto.bin.bl2-only
+++ b/t7/v918d/lpddr4/bb1st.sto.bin.bl2-only
Binary files differ
diff --git a/t7/v918d/lpddr4/bb1st.sto.bin.signed b/t7/v918d/lpddr4/bb1st.sto.bin.signed
index bc4fb91..269774a 100644
--- a/t7/v918d/lpddr4/bb1st.sto.bin.signed
+++ b/t7/v918d/lpddr4/bb1st.sto.bin.signed
Binary files differ
diff --git a/t7/v918d/lpddr4/bb1st.usb.bin.bl2-only b/t7/v918d/lpddr4/bb1st.usb.bin.bl2-only
index a7ac0bc..14f8762 100644
--- a/t7/v918d/lpddr4/bb1st.usb.bin.bl2-only
+++ b/t7/v918d/lpddr4/bb1st.usb.bin.bl2-only
Binary files differ
diff --git a/t7/v918d/lpddr4/bb1st.usb.bin.signed b/t7/v918d/lpddr4/bb1st.usb.bin.signed
index 610e938..4cd7262 100644
--- a/t7/v918d/lpddr4/bb1st.usb.bin.signed
+++ b/t7/v918d/lpddr4/bb1st.usb.bin.signed
Binary files differ