diff options
| author | Shell <[email protected]> | 2023-10-13 14:20:50 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-13 14:20:50 +0800 |
| commit | 6c1537c216de0015746711164acb0871a1da3ef9 (patch) | |
| tree | faf67a621ac42c479b623077102b6bfc7c641efe | |
| parent | 61e38bd13d351f7b4ce6a601c304ae78661a04db (diff) | |
[bsp] fix smp with smart of vexpress-a9 (#8128)
Signed-off-by: Shell <[email protected]>
| -rw-r--r-- | bsp/qemu-vexpress-a9/drivers/secondary_cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/qemu-vexpress-a9/drivers/secondary_cpu.c b/bsp/qemu-vexpress-a9/drivers/secondary_cpu.c index c4ac0c8d29..5b4ba767e7 100644 --- a/bsp/qemu-vexpress-a9/drivers/secondary_cpu.c +++ b/bsp/qemu-vexpress-a9/drivers/secondary_cpu.c @@ -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 */ |
