Searched hist:e8efb65afb996c9832384c96b36aee3092b56a4b (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/plat/xilinx/common/pm_service/ |
| H A D | pm_svc_main.c | e8efb65afb996c9832384c96b36aee3092b56a4b Mon Jul 31 06:49:11 UTC 2023 Jay Buddhabhatti <jay.buddhabhatti@amd.com> fix(versal-net): change flag to increase security
Currently security flag is set to SECURE by default and is changed to NON_SECURE if NS system is detected. In this case NS system may access secure system if condition check gets skipped due to glitches.
So, initialize security_flag to NON_SECURE_FLAG and switch to SECURE_FLAG if the TrustZone bit is detected to be in more secure state.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: I7af54465bd8744ba97a58c02607631ee23619d47
|