删除ioremap 宏定义 (#7662)
This commit is contained in:
parent
76d8416e72
commit
4003172797
|
@ -12,13 +12,10 @@
|
||||||
#define VIRT_H__
|
#define VIRT_H__
|
||||||
|
|
||||||
#include <rtdef.h>
|
#include <rtdef.h>
|
||||||
|
#include <ioremap.h>
|
||||||
|
|
||||||
#ifdef RT_USING_SMART
|
#ifdef RT_USING_SMART
|
||||||
#include <mmu.h>
|
#include <mmu.h>
|
||||||
#include <ioremap.h>
|
|
||||||
|
|
||||||
#else
|
|
||||||
#define rt_ioremap(x, ...) (x)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define __REG32(x) (*((volatile unsigned int *)(x)))
|
#define __REG32(x) (*((volatile unsigned int *)(x)))
|
||||||
|
|
Loading…
Reference in New Issue