Unverified Commit bf2de7e4 authored by davidcunado-arm's avatar davidcunado-arm Committed by GitHub
Browse files

Merge pull request #1158 from antonio-nino-diaz-arm/an/spm-fix

SPM: Fix pointer to MP info in boot info struct
parents 9500d5a4 ff7d0805
...@@ -270,8 +270,8 @@ void secure_partition_setup(void) ...@@ -270,8 +270,8 @@ void secure_partition_setup(void)
* be populated, just after the boot info. * be populated, just after the boot info.
*/ */
((secure_partition_boot_info_t *) shared_buf_ptr)->mp_info = ((secure_partition_boot_info_t *) shared_buf_ptr)->mp_info =
((secure_partition_mp_info_t *) shared_buf_ptr) + (secure_partition_mp_info_t *) ((uintptr_t)shared_buf_ptr
sizeof(secure_partition_boot_info_t); + sizeof(secure_partition_boot_info_t));
/* /*
* Update the shared buffer pointer to where the MP information for the * Update the shared buffer pointer to where the MP information for the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment