diff options
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mx21.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mx21.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx21.h b/arch/arm/plat-mxc/include/mach/mx21.h index 8bc59720b6e4..aed0277ebc93 100644 --- a/arch/arm/plat-mxc/include/mach/mx21.h +++ b/arch/arm/plat-mxc/include/mach/mx21.h | |||
@@ -92,10 +92,11 @@ | |||
92 | 92 | ||
93 | #define MX21_IRAM_BASE_ADDR 0xffffe800 /* internal ram */ | 93 | #define MX21_IRAM_BASE_ADDR 0xffffe800 /* internal ram */ |
94 | 94 | ||
95 | #define MX21_IO_ADDRESS(x) ( \ | 95 | #define MX21_IO_P2V(x) ( \ |
96 | IMX_IO_ADDRESS(x, MX21_AIPI) ?: \ | 96 | IMX_IO_P2V_MODULE(x, MX21_AIPI) ?: \ |
97 | IMX_IO_ADDRESS(x, MX21_SAHB1) ?: \ | 97 | IMX_IO_P2V_MODULE(x, MX21_SAHB1) ?: \ |
98 | IMX_IO_ADDRESS(x, MX21_X_MEMC)) | 98 | IMX_IO_P2V_MODULE(x, MX21_X_MEMC)) |
99 | #define MX21_IO_ADDRESS(x) IOMEM(MX21_IO_P2V(x)) | ||
99 | 100 | ||
100 | /* fixed interrupt numbers */ | 101 | /* fixed interrupt numbers */ |
101 | #define MX21_INT_CSPI3 6 | 102 | #define MX21_INT_CSPI3 6 |