mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 18:35:28 +00:00
Merge pull request #1158 from antonio-nino-diaz-arm/an/spm-fix
SPM: Fix pointer to MP info in boot info struct
This commit is contained in:
@@ -270,8 +270,8 @@ void secure_partition_setup(void)
|
||||
* be populated, just after the boot info.
|
||||
*/
|
||||
((secure_partition_boot_info_t *) shared_buf_ptr)->mp_info =
|
||||
((secure_partition_mp_info_t *) shared_buf_ptr) +
|
||||
sizeof(secure_partition_boot_info_t);
|
||||
(secure_partition_mp_info_t *) ((uintptr_t)shared_buf_ptr
|
||||
+ sizeof(secure_partition_boot_info_t));
|
||||
|
||||
/*
|
||||
* Update the shared buffer pointer to where the MP information for the
|
||||
|
||||
Reference in New Issue
Block a user