Skip to content

Commit

Permalink
[fix] Directly write the manifest address to the datavault
Browse files Browse the repository at this point in the history
  • Loading branch information
mhatrevi committed Jul 26, 2023
1 parent dca0e1e commit 1f20739
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions rom/dev/src/flow/cold_reset/fw_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,13 +351,7 @@ impl FirmwareProcessor {

data_vault.write_warm_reset_entry4(WarmResetEntry4::RtEntryPoint, info.runtime.entry_point);

// TODO: Need a better way to get the Manifest address
let slice = {
let ptr = MAN1_ORG as *const u32;
ptr as u32
};

data_vault.write_warm_reset_entry4(WarmResetEntry4::ManifestAddr, slice);
data_vault.write_warm_reset_entry4(WarmResetEntry4::ManifestAddr, MAN1_ORG);
report_boot_status(FwProcessorPopulateDataVaultComplete.into());
}

Expand Down

0 comments on commit 1f20739

Please sign in to comment.