Merge branch 'dev_ck_v2.1_feature#1094#' into 'dev_ck_v2.1'

update New Feature#1094#

See merge request ucp/driver/ucp4008_platform_spu!36
This commit is contained in:
Xianfeng Du 2023-09-27 11:27:18 +00:00
commit f6b582f79c
2 changed files with 12 additions and 3 deletions

View File

@ -23,6 +23,9 @@
#include "pet_sm_mgt.h"
#include "osp_init.h"
extern void Mem_Init(void);
static int32_t gCoreId = 0;
ALWAYS_INLINE int32_t get_core_id(void)
{
@ -51,9 +54,9 @@ int32_t soc_drv_init()
int apeId = get_core_id();
if (0 == apeId)
{
pet_sm_init();
osp_var_init();
pet_sm_init();
Mem_Init(); /* call phy function to mem sm */
}
return 0;

View File

@ -30,3 +30,9 @@ void phy_init(void)
return;
}
void Mem_Init(void)
{
return ;
}