New Feature#891

1. doc change the APE_PHY and APE_TEXT address
2. testmac's cfgfile used thd address 0x9a000000
This commit is contained in:
lishuang.xie 2023-07-26 12:03:44 +08:00
parent a2ae96715d
commit f8d6d642a4

View File

@ -33,7 +33,7 @@
#define ARM_SPE_CFG_PHY_SIZE (0x1400000) /* 约定在20M以内 */
#define ARM_SPE_CFG_INFO_ONE sizeof(osp_spe_cfg_file_reg)
#define ARM_SPE_CFG_INFO_SIZE (ARM_SPE_CFG_INFO_ONE * APE_CFG_FILE_NUM)
#define ARM_SPE_CFG_OFFSET (0x0A000000) /* 目前改到APE_TEXT段从0x9A00 0000开始故需要偏移0x0A00 0000 */
#define ARM_SPE_CFG_OFFSET (0x8A000000) /* 目前改到APE_PHY段从0x1000 0000开始故需要偏移0x8A00 0000 */
#if 0
#define ARM_SPE_CFG_PHY_ADDR (0xB8000000) /* 指定配置文件首地址 */
@ -332,7 +332,7 @@ int32_t osp_spe_cfg_file_init()
return OSP_OK;
#endif
g_spe_ptr_static_mem = get_static_mem(APE_TEXT, &g_spe_static_mem_size);
g_spe_ptr_static_mem = get_static_mem(APE_PHY, &g_spe_static_mem_size);
if (0 == g_spe_static_mem_size)
{
UCP_PRINT_ERROR("get_static_mem(ARM_STACK) error......\r\n");