Skip to content

Commit 7f70610

Browse files
committed
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 <[email protected]>
1 parent 1f2fd7f commit 7f70610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bsp/cvitek/drivers/drv_ioremap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
#include <rtconfig.h>
1515

16-
#ifdef RT_USING_SMART
16+
#if defined RT_USING_SMART || defined ARCH_ARM
1717
#include <ioremap.h>
1818

1919
#define DRV_IOREMAP(addr, size) rt_ioremap(addr, size)

0 commit comments

Comments
 (0)