qcs6490-rb3gen2: Explicitly erase apdp_a/b partitions #27
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.
apdp_a/b partitions are optional during boot. Garbage data in that partition can lead to boot crash as follows:
...
B - 1001101 - APDP - Image Load, Start
D - 244 - Auth Metadata
B - 1009489 - Error code 65 at boot_platforminfo.c Line 76
B - 1010709 - Call Stack:
B - 1016229 - func_addr : 1481E438
B - 1018822 - func_addr : 1481D8BC
B - 1022482 - ^^^^^^^^^^^^^^^^^^^^^
B - 1031205 - sbl_error_handler: copied boot regions to crash dump region
Lets erase apdp_a/b partitions explicitly to avoid the above crash.