spi-topcliff-pch: Fix issue for transmitting over 4KByte
[zen-stable.git] / arch / arm / mach-zynq / include / mach / io.h
blob39d9885e0e9a932b1c8233373a82c88360ee41a6
1 /* arch/arm/mach-zynq/include/mach/io.h
3 * Copyright (C) 2011 Xilinx
5 * This software is licensed under the terms of the GNU General Public
6 * License version 2, as published by the Free Software Foundation, and
7 * may be copied, distributed, and modified under those terms.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #ifndef __MACH_IO_H__
16 #define __MACH_IO_H__
18 /* Allow IO space to be anywhere in the memory */
20 #define IO_SPACE_LIMIT 0xffff
22 /* IO address mapping macros, nothing special at this time but required */
24 #ifdef __ASSEMBLER__
25 #define IOMEM(x) (x)
26 #else
27 #define IOMEM(x) ((void __force __iomem *)(x))
28 #endif
30 #define __io(a) __typesafe_io(a)
31 #define __mem_pci(a) (a)
33 #endif