diff options
author | Greg Ungerer <gerg@uclinux.org> | 2010-11-03 05:50:30 +0300 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-01-05 08:19:17 +0300 |
commit | 57015421d3f3deafb1f6ccf03a6fe0539763dbee (patch) | |
tree | 965daef9dd9f5ee351dec0f4dfa7037a50e94ecc /arch/m68k/include/asm/m5307sim.h | |
parent | 733f31b764061d976a60c5ee454632d9562900ea (diff) | |
download | linux-57015421d3f3deafb1f6ccf03a6fe0539763dbee.tar.xz |
m68knommu: move UART addressing to part specific includes
The ColdFire UART base addresses varies between the different ColdFire
family members. Instead of keeping the base addresses with the UART
definitions keep them with the other addresses definitions for each
ColdFire part.
The motivation for this move is so that when we add new ColdFire
part definitions, they are all in a single file (and we shouldn't
normally need to modify the UART definitions in mcfuart.h at all).
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/include/asm/m5307sim.h')
-rw-r--r-- | arch/m68k/include/asm/m5307sim.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/m5307sim.h b/arch/m68k/include/asm/m5307sim.h index 008f36bd66c3..7003d7268ae8 100644 --- a/arch/m68k/include/asm/m5307sim.h +++ b/arch/m68k/include/asm/m5307sim.h @@ -97,6 +97,17 @@ #define MCFSIM_PADAT (MCF_MBAR + 0x248) /* + * UART module. + */ +#if defined(CONFIG_NETtel) || defined(CONFIG_SECUREEDGEMP3) +#define MCFUART_BASE1 0x200 /* Base address of UART1 */ +#define MCFUART_BASE2 0x1c0 /* Base address of UART2 */ +#else +#define MCFUART_BASE1 0x1c0 /* Base address of UART1 */ +#define MCFUART_BASE2 0x200 /* Base address of UART2 */ +#endif + +/* * Generic GPIO support */ #define MCFGPIO_PIN_MAX 16 |