From 04e037aa4e5f71d11c004e844339d385a89733f6 Mon Sep 17 00:00:00 2001 From: Steven King Date: Tue, 5 Jun 2012 08:23:08 -0700 Subject: m68knommu: Add support for the Coldfire 5251/5253 Basic support for the Coldfire 5251/5253. Signed-off-by: Steven king Signed-off-by: Greg Ungerer --- arch/m68k/include/asm/mcfgpio.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'arch/m68k/include/asm/mcfgpio.h') 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 -- cgit v1.2.3-70-g09d2