diff options
author | Steven King <sfking@fdwdc.com> | 2012-06-05 08:23:08 -0700 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2012-07-16 09:59:21 +1000 |
commit | 04e037aa4e5f71d11c004e844339d385a89733f6 (patch) | |
tree | 34f27c90251f7770e1bcbdcf3244b6b8b9dc7b85 /arch/m68k/include/asm/mcfgpio.h | |
parent | eac57949947fa24f47a2e993a1dbbfdb573b4301 (diff) |
m68knommu: Add support for the Coldfire 5251/5253
Basic support for the Coldfire 5251/5253.
Signed-off-by: Steven king <sfking@fdwdc.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/include/asm/mcfgpio.h')
-rw-r--r-- | arch/m68k/include/asm/mcfgpio.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/m68k/include/asm/mcfgpio.h b/arch/m68k/include/asm/mcfgpio.h index 67ba20ffedb..b2471a5f02e 100644 --- a/arch/m68k/include/asm/mcfgpio.h +++ b/arch/m68k/include/asm/mcfgpio.h @@ -122,7 +122,7 @@ static inline void gpio_free(unsigned gpio) #define mcfgpio_read(port) __raw_readw(port) #define mcfgpio_write(data, port) __raw_writew(data, port) -#elif defined(CONFIG_M5249) +#elif defined(CONFIG_M5249) || defined(CONFIG_M525x) /* These parts have GPIO organized by 32 bit ports */ @@ -183,7 +183,7 @@ static inline u32 __mcfgpio_ppdr(unsigned gpio) return MCFSIM_PBDAT; else return MCFSIM_PCDAT; -#elif defined(CONFIG_M5249) +#elif defined(CONFIG_M5249) || defined(CONFIG_M525x) if (gpio < 32) return MCFSIM2_GPIOREAD; else @@ -222,7 +222,7 @@ static inline u32 __mcfgpio_podr(unsigned gpio) return MCFSIM_PBDAT; else return MCFSIM_PCDAT; -#elif defined(CONFIG_M5249) +#elif defined(CONFIG_M5249) || defined(CONFIG_M525x) if (gpio < 32) return MCFSIM2_GPIOWRITE; else @@ -261,7 +261,7 @@ static inline u32 __mcfgpio_pddr(unsigned gpio) return MCFSIM_PBDDR; else return MCFSIM_PCDDR; -#elif defined(CONFIG_M5249) +#elif defined(CONFIG_M5249) || defined(CONFIG_M525x) if (gpio < 32) return MCFSIM2_GPIOENABLE; else |