diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-10-31 14:24:28 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-10-31 14:24:28 +0100 |
commit | 7e0cac630c7c90f12a78131df9913657fa30243b (patch) | |
tree | c09aa76b07a9bcb0ab0dea4885909421f7a9f4a6 /arch/arm/mach-mxs/include/mach/mxs.h | |
parent | 94314a40bcc537c396012e37cf887572f0d82aef (diff) | |
parent | b4cbb8a4e602ea77b0525d06eff89c6a6070dab3 (diff) |
Merge branch 'imx/devel' into imx/imx6q
Conflicts:
arch/arm/plat-mxc/include/mach/memory.h
Diffstat (limited to 'arch/arm/mach-mxs/include/mach/mxs.h')
-rw-r--r-- | arch/arm/mach-mxs/include/mach/mxs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/include/mach/mxs.h b/arch/arm/mach-mxs/include/mach/mxs.h index 35a89dd2724..0d2d2b47099 100644 --- a/arch/arm/mach-mxs/include/mach/mxs.h +++ b/arch/arm/mach-mxs/include/mach/mxs.h @@ -33,6 +33,7 @@ 0) #define cpu_is_mx28() ( \ machine_is_mx28evk() || \ + machine_is_m28evk() || \ machine_is_tx28() || \ 0) @@ -86,6 +87,8 @@ .type = _type, \ } +#define MXS_GPIO_NR(bank, nr) ((bank) * 32 + (nr)) + #define MXS_SET_ADDR 0x4 #define MXS_CLR_ADDR 0x8 #define MXS_TOG_ADDR 0xc |