mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 03:09:16 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user