mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
rk: plat: add io.h
This commit is contained in:
@@ -1,16 +1,7 @@
|
||||
#ifndef __MACH_IO_H
|
||||
#define __MACH_IO_H
|
||||
|
||||
#define IO_SPACE_LIMIT 0xffffffff
|
||||
|
||||
#define __io(a) __typesafe_io(a)
|
||||
#define __mem_pci(a) (a)
|
||||
|
||||
#ifdef __ASSEMBLER__
|
||||
#define IOMEM(x) (x)
|
||||
#else
|
||||
#define IOMEM(x) ((void __force __iomem *)(x))
|
||||
#endif
|
||||
#include <plat/io.h>
|
||||
|
||||
/*
|
||||
* RK30 IO memory map:
|
||||
|
||||
15
arch/arm/plat-rk/include/plat/io.h
Normal file
15
arch/arm/plat-rk/include/plat/io.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef __PLAT_IO_H
|
||||
#define __PLAT_IO_H
|
||||
|
||||
#define IO_SPACE_LIMIT 0xffffffff
|
||||
|
||||
#define __io(a) __typesafe_io(a)
|
||||
#define __mem_pci(a) (a)
|
||||
|
||||
#ifdef __ASSEMBLER__
|
||||
#define IOMEM(x) (x)
|
||||
#else
|
||||
#define IOMEM(x) ((void __force __iomem *)(x))
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user