Go to the documentation of this file.
10 #ifndef __MACH_HARDWARE_H
11 #define __MACH_HARDWARE_H
18 #define U8500_IO_VIRTUAL 0xf0000000
19 #define U8500_IO_PHYSICAL 0xa0000000
21 #define UX500_VIRT_ROM 0xf0000000
24 #define IO_ADDRESS(x) \
25 (((x) & 0x0fffffff) + (((x) >> 4) & 0x0f000000) + U8500_IO_VIRTUAL)
28 #define __io_address(n) IOMEM(IO_ADDRESS(n))
31 #define io_p2v(n) __io_address(n)
35 #define MSP_TX_RX_REG_OFFSET 0
36 #define CRYP1_RX_REG_OFFSET 0x10
37 #define CRYP1_TX_REG_OFFSET 0x8
38 #define HASH1_TX_REG_OFFSET 0x4
45 #define ARRAY_AND_SIZE(x) (x), ARRAY_SIZE(x)