Merge branch 'dev_ck_v2.1_NewFeature#891' into 'dev_ck_v2.1'
fix the New Feature#891 See merge request ucp/driver/ucp4008_platform_arm!12
This commit is contained in:
commit
dd0e4ba161
@ -589,7 +589,7 @@ int32_t osp_get_cfg_file(char* name, uint64_t *paddr, uint32_t *psize)
|
||||
if (0 == memcmp(head->name, name, strlen(name)))
|
||||
{
|
||||
/* 物理层需要物理地址,而还是虚拟地址 */
|
||||
osp_virt_to_phy(APE_TEXT, head->vir_addr, paddr);
|
||||
osp_virt_to_phy(APE_PHY, head->vir_addr, paddr);
|
||||
//*paddr = head->vir_addr;
|
||||
*psize = head->len;
|
||||
return OSP_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user