libcpu: aarch64: Fix NORMAL_NOCACHE_MEM attr (#10180)

Signed-off-by: Cliff Chen <cliff.chen@rock-chips.com>
Signed-off-by: mouch6131 <187177037@qq.com>
Co-authored-by: Cliff Chen <cliff.chen@rock-chips.com>
This commit is contained in:
mouch6131 2025-04-13 22:12:00 +08:00 committed by GitHub
parent 5100d39def
commit 86df886c7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -474,7 +474,7 @@ void rt_hw_mmu_setup(rt_aspace_t aspace, struct mem_desc *mdesc, int desc_nr)
attr = MMU_MAP_K_RWCB;
break;
case NORMAL_NOCACHE_MEM:
attr = MMU_MAP_K_RWCB;
attr = MMU_MAP_K_RW;
break;
case DEVICE_MEM:
attr = MMU_MAP_K_DEVICE;