-
Notifications
You must be signed in to change notification settings - Fork 810
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sw] Simplify lifecycle checks in immutable rom ext
The commit simplifies the existing check in immutable ROM_EXT, which determines whether to enable the RvDM ePMP region based on the lifecycle state (prod / non-prod). The simplified check only tests for PROD and PROD-END states to reduce space cost by eliminating TEST-UNLOCK states checks. One potential downside is that invalid LCS states will be treated as non-prod, leading to the RvDM region being enabled. However, this is mitigated by the fact that debugging requires JTAG, which verifies LCS in hardware. Additionally, invalid LCS will be detected later in the mutable ROM_EXT stage when reading the lifecycle. Change-Id: I33ea6148f7e36f7c1bc87b5a150ae783c545ffc2 Signed-off-by: Yi-Hsuan Deng <[email protected]>
- Loading branch information
Showing
5 changed files
with
52 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters