summaryrefslogtreecommitdiffstats
path: root/include/io.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix big endian MMIO primitives.Krzysztof Halasa2012-05-071-15/+6
| | | | | | | | | | | cpu_read*() and cpu_wrire*() are precisely equal to __raw_read*() and __raw_write*(). Striving for correctness we can replace all those __raw_*() with cpu_*() as that's exactly what the former ones do. Signed-off-by: Krzysztof HaƂasa <khc@pm.waw.pl> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add cpu native ordered io accessorsSascha Hauer2011-09-231-0/+17
| | | | | | | | | | | | | There are no generic native ordered io accessors. This sometimes leads to v = in_be32(a); v = readl(a); in generic drivers. Instead, use io accessors which are explicitely native ordered. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* introduce io.hSascha Hauer2011-09-221-0/+6
To allow for some generic io accessors introduce io.h and use this instead of asm/io.h throughout the tree. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>