soc: am65x: Add sec proxy info
[k3conf/k3conf.git] / common / socinfo.c
index 94b2610947116eb6ade7b32e5241b81d62c009a9..eba57fa14cecb19b521b668f2d7eb41e9e6a486c 100644 (file)
@@ -38,6 +38,7 @@
 #include <string.h>
 #include <sec_proxy.h>
 #include <soc/am65x/am65x_host_info.h>
+#include <soc/am65x/am65x_sec_proxy_info.h>
 #include <soc/j721e/j721e_host_info.h>
 
 /* Assuming these addresses and definitions stay common across K3 devices */
@@ -84,6 +85,10 @@ static void am654_init(void)
 
        sci_info->host_info = am65x_host_info;
        sci_info->num_hosts = AM65X_MAX_HOST_IDS;
+       sci_info->sp_info[MAIN_SEC_PROXY] = am65x_main_sp_info;
+       sci_info->num_sp_threads[MAIN_SEC_PROXY] = AM65X_MAIN_SEC_PROXY_THREADS;
+       sci_info->sp_info[MCU_SEC_PROXY] = am65x_mcu_sp_info;
+       sci_info->num_sp_threads[MCU_SEC_PROXY] = AM65X_MCU_SEC_PROXY_THREADS;
 }
 
 static void j721e_init(void)