• Mayur Gudmeti's avatar
    services: spm_mm: Use sp_boot_info to set SP context · 21583a31
    Mayur Gudmeti authored
    
    
    The current SPM_MM implementations expects the SP image addresses
    as static macros. This means platforms wanting to use dynamically
    allocated memory addresses are left out. This patch gets sp_boot_info
    at the beginning of spm_sp_setup function and uses member variables
    of sp_boot_info to setup the context. So member variables of
    struct sp_boot_info and consequently the context can be initialized
    by static macros or dynamiclly allocated memory address..
    
    Change-Id: I1cb75190ab8026b845ae20a9c6cc416945b5d7b9
    Signed-off-by: default avatarMayur Gudmeti <mgudmeti@nvidia.com>
    21583a31
spm_mm_setup.c 7.86 KB