diff options
author | Greg Ungerer <gerg@uclinux.org> | 2011-12-24 01:23:35 +1000 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2012-03-05 09:43:08 +1000 |
commit | 55148f6f886a1b77dba1a5c3169208606827b9db (patch) | |
tree | 17e77390b22a390a6fe9897fe0f1b086319097ae /arch/m68k/include/asm/mcfuart.h | |
parent | 0d2fe946474196e586e492d9e9b381e184c774ea (diff) | |
download | linux-stable-55148f6f886a1b77dba1a5c3169208606827b9db.tar.gz linux-stable-55148f6f886a1b77dba1a5c3169208606827b9db.tar.bz2 linux-stable-55148f6f886a1b77dba1a5c3169208606827b9db.zip |
m68knommu: merge common ColdFire UART IRQ setup
Some ColdFire CPU UART hardware modules can configure the IRQ they use.
Currently the same setup code is duplicated in the init code for each of
these ColdFire CPUs. Merge all this code to a single instance.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/include/asm/mcfuart.h')
-rw-r--r-- | arch/m68k/include/asm/mcfuart.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/m68k/include/asm/mcfuart.h b/arch/m68k/include/asm/mcfuart.h index 2abedff0a694..2d3bc774b3c5 100644 --- a/arch/m68k/include/asm/mcfuart.h +++ b/arch/m68k/include/asm/mcfuart.h @@ -41,7 +41,10 @@ struct mcf_platform_uart { #define MCFUART_UTF 0x28 /* Transmitter FIFO (r/w) */ #define MCFUART_URF 0x2c /* Receiver FIFO (r/w) */ #define MCFUART_UFPD 0x30 /* Frac Prec. Divider (r/w) */ -#else +#endif +#if defined(CONFIG_M5206) || defined(CONFIG_M5206e) || \ + defined(CONFIG_M5249) || defined(CONFIG_M5307) || \ + defined(CONFIG_M5407) #define MCFUART_UIVR 0x30 /* Interrupt Vector (r/w) */ #endif #define MCFUART_UIPR 0x34 /* Input Port (r) */ |