Nvm ctrl sw#30390
Draft
gautschimi wants to merge 29 commits into
Draft
Conversation
This library serves as a wrapper to non volatile memory and hides all flash dependencies. Also includes: - Fix info page register field names in dif_flash_ctrl.c - Increase FPGA test timeout to 70min - Move page_lockdown and owner info page list from flash_ctrl to nvm_ctrl Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
nvm_testutils wraps the most used flash function calls. By doing this, the dependency to flash remains in the nvm_testutils library. nvm_info_field replaces flash_info_fields, abstracting the info page field definitions behind the nvm_testutils interface. Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
84496c3 to
5507d99
Compare
All references to flash have been moved to keymgr_testutils. This makes many tests easier as they don't need to be aware of what kind of nvm is used. Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
54174b4 to
2ffbd18
Compare
Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Info pages are now configured with nvm_testutils_info_page_setup(), and read/written with nvm_testutils_info_page_read/write(). Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Update individualize, individualize_sw_cfg, personalize, and ast_program to use nvm_testutils and nvm_info_field instead of flash_info_fields. Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Update nvm_info_field dependency missed in the previous commit. Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Update inject_scramble_seed and data_integrity_escalation_reset_test. Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Remove flash_ctrl includes from files that don't use it directly. These tests no longer need direct flash access after the nvm abstraction. Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Migrate boot_data.c to use the new nvm library instead of flash_ctrl. Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Alert_functest is now doing its checks with OTP alerts alone. Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
Replaced by sram_device_info_nvm_wr_functest in the previous commit. Signed-off-by: Michael Gautschi <mgautschi@lowrisc.org>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.