[bsp] fix smp with smart of vexpress-a9 (#8128)

Signed-off-by: Shell <smokewood@qq.com>
This commit is contained in:
Shell 2023-10-13 14:20:50 +08:00 committed by GitHub
parent 61e38bd13d
commit 6c1537c216
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ void rt_hw_secondary_cpu_up(void)
char *entry = (char *)rt_secondary_cpu_entry;
#ifdef RT_USING_SMART
plat_boot_reg = (volatile void **)rt_hw_mmu_map(&mmu_info, 0, (void *)plat_boot_reg, 0x1000, MMU_MAP_K_RW);
plat_boot_reg = (volatile void **)rt_ioremap_nocache((void *)plat_boot_reg, 0x1000);
if (!plat_boot_reg)
{
/* failed */