bsp: cvitek: use ioremap for arm64 core

For ARM, RT-smart and RT-standard both enable mmc (see
rt_hw_board_init() in bsp/cvitek/cv18xx_aarch64/board/board.c,
rt_hw_mmu_setup is called both for smart or standard).

So ioremap is must to do for ARM.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
This commit is contained in:
Chen Wang
2024-12-30 11:32:10 +08:00
committed by Rbb666
parent 724b2f1297
commit b774c9b938
+1 -1
View File
@@ -13,7 +13,7 @@
#include <rtconfig.h>
#ifdef RT_USING_SMART
#if defined RT_USING_SMART || defined ARCH_ARM
#include <ioremap.h>
#define DRV_IOREMAP(addr, size) rt_ioremap(addr, size)