Question:
Can we use adi_spu_Init() API in more than one core?
Answer:
The adi_spu_Init() API will clear all the write protect registers and set the default value (0x1) to SecureP registers. If we are not calling adi_spu_Init() API, the handle will not be created. If we call adi_spu_EnableMasterSecure() API directly, it will return 'ADI_SPU_INVALID_HANDLE' error. So we will not initialize SPU twice in the application (i.e., we can't use it in both cores).