diff --git a/public/ape_spu/top/src/ape_top.s.c b/public/ape_spu/top/src/ape_top.s.c index b811a32..bde0c75 100644 --- a/public/ape_spu/top/src/ape_top.s.c +++ b/public/ape_spu/top/src/ape_top.s.c @@ -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,12 +54,12 @@ 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; + return 0; } diff --git a/public/ape_spu/top/src/phy_init.s.c b/public/ape_spu/top/src/phy_init.s.c index 573ff48..dda56b9 100644 --- a/public/ape_spu/top/src/phy_init.s.c +++ b/public/ape_spu/top/src/phy_init.s.c @@ -30,3 +30,9 @@ void phy_init(void) return; } +void Mem_Init(void) +{ + return ; +} + +