rk: plat: add io.h

This commit is contained in:
黄涛
2012-07-03 10:40:29 +08:00
parent 2713d0757c
commit 4e5be952a4
2 changed files with 16 additions and 10 deletions

View File

@@ -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:

View 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